TinyPortal

Development => Support => Topic started by: mictos on August 20, 2007, 12:34:12 PM

Title: global variable, where i can find them??
Post by: mictos on August 20, 2007, 12:34:12 PM
hi all,
this is my first 3d  ;D!!

i have used the search function but i have found nothing.

So, my question ...
Where i can find $context variables definition??
I need to modify $context['TPortal']['shoutbox'] variable, because i want use an horizontal shoutbox and i need to re-format username, date and post location (all included in that stupid variable  >:D).
So, any idea??

tnx in advance
Title: Re: global variable, where i can find them??
Post by: G6Cad on August 20, 2007, 02:13:16 PM
TPortal.php and TPortalblocks.template.php hold the code for the shoutbox
Title: Re: global variable, where i can find them??
Post by: mictos on August 20, 2007, 03:01:17 PM
Thank u  ;),

fast and efficent .. nice


here the result:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi50.photobucket.com%2Falbums%2Ff337%2Fmictos%2Fforum%2Fscreenshot.jpg&hash=c8904a3763c9b3258a88e54efc56f9bf24531a6e)


;D
Title: Re: global variable, where i can find them??
Post by: IchBin on August 20, 2007, 09:15:17 PM
Looks good. :up:
Title: Re: global variable, where i can find them??
Post by: mictos on August 20, 2007, 10:37:05 PM
tnx  ;)

screenshot not show the animated red arrow that indicate de message  ::)

nice forum, i think that i will ask you more in the future  ;D
prepare yourself  :2funny: