PDA

View Full Version : looking for 3 small hacks


pHAZE_1
04-30-2002, 08:07 PM
1. change user name into link (as seen here/search feature)
2. center forum name on homepage.
3. replace forum name on homepage with a pic.

pHAZE_1
04-30-2002, 09:09 PM
also 1 more, where would i find how to make the (post#) appear like in the top right corner..

scsa20
04-30-2002, 11:05 PM
well...to answer the first question, to make the username into a link, you just edit your postbit template and look for:

$post[username]

and just add (for an ex.) something like:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]</a>

that well give you the users info

scsa20
04-30-2002, 11:17 PM
and for the one in your second post, about the post number on the upper right, go to https://vborg.vbsupport.ru/showthread.php?s=&threadid=22083 to get it ;)

pHAZE_1
04-30-2002, 11:50 PM
thanks, but it added the link next to the username so it was like pHAZE_1[pHAZE_1] what would i do to correct that?

scsa20
05-01-2002, 01:47 AM
you should just put in $post[username] (that well put in whatever username that posted there).

Admin
05-01-2002, 09:36 AM
pHAZE_1, please try to post your threads in the appropriate forums. You always post them in The Lounge, and it is getting tiresome to move them. Besides, you'll get more responses if you post in the correct forum to begin with. :)

pHAZE_1
05-01-2002, 10:11 PM
sorry about that, i will post in the correct forums for now on.

SWFans.net
05-01-2002, 10:52 PM
Originally posted by scsa20
well...to answer the first question, to make the username into a link, you just edit your postbit template and look for:

$post[username]

and just add (for an ex.) something like:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]</a>

that well give you the users info Should have said find:

$post[username]

and replace with:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]</a>