vBulletin Modifications

Phrase help....

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 08-03-2006, 09:25 PM   #1
vB User
HDRebel88's Avatar
Join Date: Jul 2006
Location: New Jersey, U.S.A.
HDRebel88 is on a distinguished road

Default Phrase help....

Does anyone know where this phrase recieves $lastpostinfo[lastposter] from? I'm working on a hack and I need to add code to the phrase (well the $lastpostinfo[lastposter] variable). (I don't know much about the inner working of vB so I'm really just screwing things until it gets to be how I want it.)

<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-04-2006, 04:12 PM   #2
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Lightbulb

Quote:
Originally Posted by HDRebel88
Does anyone know where this phrase recieves $lastpostinfo[lastposter] from?
It's in the forumhome_lastpostby template.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 05:52 PM   #3
vB User
HDRebel88's Avatar
Join Date: Jul 2006
Location: New Jersey, U.S.A.
HDRebel88 is on a distinguished road

Default

I know where it is, I want to know how to replace part of the actual phrase. It's the phrase that shows last poster on forum home. 2=$lastpostinfo[lastposter] pulls in the last posters usernam and I need to add that portion of the phrase.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 06:00 PM   #4
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Wink

Quote:
Originally Posted by HDRebel88
I want to know how to replace part of the actual phrase.
You'd replace the phrase by going to Languages and Phrases > Phrase Manager > Edit Phrase.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 06:15 PM   #5
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

And then you can add things like {2} will get the value $lastpostinfo[lastposter].




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 06:40 PM   #6
vB User
HDRebel88's Avatar
Join Date: Jul 2006
Location: New Jersey, U.S.A.
HDRebel88 is on a distinguished road

Default

Okay, got it for the most part.... It not only changed the user name but the date as well how do I fix that ?

The following code is the the phrase with the lastpostdate variable. And I did close the <font> tag in the phrase.
You must first be a registered member to view any code.
EDIT: Correction, just double checked and I did forget to close the font tag. Thanks for your help.

Last edited by HDRebel88; 08-04-2006 at 06:55 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 08:12 PM   #7
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Wink

Glad you got it sorted HDRebel88




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How to] Add navigation groups to your admincp left panel Ken Iovino vBulletin Modification Tutorials 11 07-15-2007 11:59 PM
Group Access Control By Day(s) (request by Vas) xyz vBulletin 3.5 / 3.6 Hack Releases 10 08-03-2006 09:22 PM
1 missing phrase and request change username. D3LTA Site Feedback 2 01-17-2005 12:46 AM


All times are GMT -3. The time now is 09:09 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)