TinyPortal

Development => Block Codes => Topic started by: Wartog on July 20, 2006, 06:14:39 AM

Title: Block that members can Mod.
Post by: Wartog on July 20, 2006, 06:14:39 AM
On my website I have my space embed into the center block.
http://www.eq-legends.com/book

What i want to know is how can I make it so each member of my forums can have the center myspace block go thier own myspace page when they are logged on to the forums?
Title: Re: Block that members can Mod.
Post by: akulion on July 20, 2006, 06:28:59 AM
That is not something simple at all!

The only way I know this could be possible is by assiging each member a special membergroup...and then editing the code in the center block with PHP to display a different url based on which member is accessing the page.

Now this would be perfectly fine if you only intended like 3 or 4 users to use the site (it would still be a huge chunk of code)

but for a growing membership...i think that would be totally not possible

-----

either ways I think that a good suggestion you have there all the same - having a block which users can edit within constraints (constraints would be necessary since they might use coding to display sensitive info)

I hope it can be developed in the future.

Thats best to my knowledge...dont be discourages, someone else around may have a solution - lets see what others have to say :)
Title: Re: Block that members can Mod.
Post by: akulion on July 20, 2006, 06:30:33 AM
I do have a suggestion for you however - why dont you make a centerblock which Links manually to all the users my space - they could request theirs to be listed on the main page - that way after they login they can click the link to access their own page since ur using an Iframe there :)
Title: Re: Block that members can Mod.
Post by: Wartog on July 20, 2006, 07:02:50 AM
You know any way to get the myspace to size to the center block so i can do away with scrolling is that possible?
Title: Re: Block that members can Mod.
Post by: IchBin on July 20, 2006, 07:04:12 AM
Unfortunately you'd have to edit myspace to do that.
Title: Re: Block that members can Mod.
Post by: Wartog on July 20, 2006, 07:05:05 AM
Oh thats what I thought, well thanks for the answers.
Title: Re: Block that members can Mod.
Post by: G6Cad on July 20, 2006, 07:08:06 AM
Isent that kind of the way Fels Blog is working?
If she can make the blog accept to have blocks attached, it will do what this threads question is all about  ???

As it is right now, every blog owner have a space of their own, and can edit with editor, put in images, rate, and reply to it if they want.

I might just be out in the bush now, but thats the first thought i got when i read the page  :o

I know it's early in the morning here  :laugh:
Title: Re: Block that members can Mod.
Post by: Wartog on July 20, 2006, 07:11:20 AM
Is that Mod you speak of availible for download yet?
Title: Re: Block that members can Mod.
Post by: G6Cad on July 20, 2006, 07:15:47 AM
Not quite yet, but Fel should be back to day, so may be a week or less :)
You can see it in action on her site, http://www.xyfrauen.com

And it is a module for the next release of TP not a mod ;)  A week or two before release i think
Title: Re: Block that members can Mod.
Post by: Wartog on July 20, 2006, 07:41:06 AM
Oh so it wont work until the updated TP is released? I checked it out and liked it alot, lots of possibilities with that mod.
Title: Re: Block that members can Mod.
Post by: G6Cad on July 20, 2006, 08:08:29 AM
I agree :)
Yes it is for the next release of TP, but thats not far away now :)
Title: Re: Block that members can Mod.
Post by: feral on August 02, 2006, 11:19:08 AM
my sugestion is to make a edit to the profie with a new section for the myspace address. they make the center block pull the myspace address from the profile.

it would take some creative editing but i've seen something like it.....somewhere i'll have to look around
Title: Re: Block that members can Mod.
Post by: Xarcell on August 02, 2006, 04:54:13 PM
Quote from: feral on August 02, 2006, 11:19:08 AM
my sugestion is to make a edit to the profie with a new section for the myspace address. they make the center block pull the myspace address from the profile.

it would take some creative editing but i've seen something like it.....somewhere i'll have to look around

That's all you would have to do. It isn't hard. maybe I'm not understanding right...
Title: Re: Block that members can Mod.
Post by: G6Cad on August 02, 2006, 05:53:13 PM
Fel have made the Blog for both Tp V.086 (available for all) and TP V.095 (Avaliable only for the Alpha testers right now)
You can find the Blog for TP V.086 on her site xyfrauen.com
Title: Re: Block that members can Mod.
Post by: Thurnok on August 05, 2006, 03:06:12 AM
Not sure, but I thought the thread starter was looking for a simple center block that displayed a custom webpage per user logged in.  If that is the case, I can make a simple one right now.  Otherwise, if you were looking for a blog for the entire center block area, then Fel's is damn nice.
Title: Re: Block that members can Mod.
Post by: feral on August 05, 2006, 12:13:08 PM
Thuronk i am with you, that is what i got out of the op.

it wouldn't be much different then displaying a users avatar on the main page or in a block when they loged in.

each user puts the url of there myspace in there profile. when they log in the center bloc uses a iframe to display the myspace page.

i'm only a novice php scripter but i did things like that with asp back in the day. so i dont think it could be that hard.
Title: Re: Block that members can Mod.
Post by: Thurnok on August 06, 2006, 08:51:25 PM
Ok.. I did one up this morning.  I would have done yesterday but was at a party. (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.knightsofneee.com%2FSmileys%2Fother%2Fbeer.gif&hash=58752fefe49110f536a341589398e1eac402bee3)

----- EDIT  -----

I moved this to its own topic that better reflects the purpose of the code: Custom Page block (http://www.tinyportal.net/smf/index.php?topic=7159.msg59071#msg59071).