vBulletin Modifications

Code to show thread creator?

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Discussion

Reply
 
LinkBack Thread Tools
Old 07-21-2007, 06:00 PM   #1
vB User
MarketProfits's Avatar
Join Date: Mar 2007
Real Name: James vladimier Olsen MerryWeather Carnival Cruise the IX
Location: Puremarketprofits.com
MarketProfits is on a distinguished road

Default Code to show thread creator?

Hi guys!

What is the code to show the creator of a thread?

I want the thread creator to be able to display their special user id that they will input in the profile fields.

I know I have to create a new profiel field for this and I can do that.

But I just need assistance with the code to determine who starts a thread.

I'm guessing it goes in the postbit, but need help with it.

This is what I have so far.

<if (!isset($FIRSTPOSTID))


then rotate a set of links here that I will program.
The image will be something that i designate.

</if>
__________________
HYIP Online Financial Community
:alien: http://www.puremarketprofits.com :alien:

http://www.puremarketprofits.com/forums :chinese:

Last edited by MarketProfits; 07-21-2007 at 06:09 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-21-2007, 06:34 PM   #2
Michael Biddle
Staff
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

Quote:
Originally Posted by MarketProfits View Post
Hi guys!

What is the code to show the creator of a thread?

I want the thread creator to be able to display their special user id that they will input in the profile fields.

I know I have to create a new profiel field for this and I can do that.

But I just need assistance with the code to determine who starts a thread.

I'm guessing it goes in the postbit, but need help with it.

This is what I have so far.

<if (!isset($FIRSTPOSTID))


then rotate a set of links here that I will program.
The image will be something that i designate.

</if>
Well those <if> tags are for the postbit yes, but you might want to make a plugin with the hook location "postbit_display_start"

the template if would be this i believe:
You must first be a registered member to view any code.
What exactly are you trying to do though?
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2007, 06:39 PM   #3
vB User
MarketProfits's Avatar
Join Date: Mar 2007
Real Name: James vladimier Olsen MerryWeather Carnival Cruise the IX
Location: Puremarketprofits.com
MarketProfits is on a distinguished road

Default

Quote:
Originally Posted by whitemike View Post
Well those <if> tags are for the postbit yes, but you might want to make a plugin with the hook location "postbit_display_start"

the template if would be this i believe:
You must first be a registered member to view any code.
What exactly are you trying to do though?
I want the thread creator of any forum, to have their affiliate id for a specific affiliate program to be displayed on the top right corner of the postbit next to the yahoo, msn, and skype icons.

I figured I had to use the thread creator code to narrow it down so that their affiliate id is displayed with an affiliate link in every thread a member creates.
Of course, they will have to sign up with the affiliate program in order to collect commissions and receive checks.

Sot of like revenue sharing, but using clickbank.com instead of Google Adsense.

Does this explanation help you?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2007, 06:57 PM   #4
Michael Biddle
Staff
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

Not really but try

You must first be a registered member to view any code.
Hopefully something like that.

Change fieldX to field5 or w/e field it is
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2007, 07:56 PM   #5
vB User
MarketProfits's Avatar
Join Date: Mar 2007
Real Name: James vladimier Olsen MerryWeather Carnival Cruise the IX
Location: Puremarketprofits.com
MarketProfits is on a distinguished road

Default

Quote:
Originally Posted by whitemike View Post
Not really but try

You must first be a registered member to view any code.
Hopefully something like that.

Change fieldX to field5 or w/e field it is
This should definitely work. Thanks.

This is what the finished product will look like and hopefully function..
You must first be a registered member to view any code.

Is it a bit more clear with this?

Last edited by MarketProfits; 07-21-2007 at 08:01 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2007, 08:24 PM   #6
Michael Biddle
Staff
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

ok, so did it work for ya?
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2007, 08:32 PM   #7
vB User
MarketProfits's Avatar
Join Date: Mar 2007
Real Name: James vladimier Olsen MerryWeather Carnival Cruise the IX
Location: Puremarketprofits.com
MarketProfits is on a distinguished road

Default

Quote:
Originally Posted by whitemike View Post
ok, so did it work for ya?
Oh, I haven't installed it yet.
I've been cutting my hair and coming to the forums when for periodic updates.....lol..

I'll test it out and then let you guys know...

BTW,
Southern Cali is too hot for long rock star hair, so I had to fade it up and leave it at about 3 inches in length.

Anyways,
will update on the mod.

Thanks for the help.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2007, 08:56 PM   #8
Michael Biddle
Staff
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

Socal isnt that bad once you get used to it. but my hairs gotta be short for the kids i teach :\
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2007, 01:32 AM   #9
vB User
MarketProfits's Avatar
Join Date: Mar 2007
Real Name: James vladimier Olsen MerryWeather Carnival Cruise the IX
Location: Puremarketprofits.com
MarketProfits is on a distinguished road

Default

Quote:
Originally Posted by whitemike View Post
Socal isnt that bad once you get used to it. but my hairs gotta be short for the kids i teach :\
After cutting my hair, I did manage to get the code to work, but not in its entirety.

The part of the code that does not work is the part is the link rotator part.

Is there another way to write a code to rotate links?

Everything else from the code works fine.

Thanks a bunch.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2007, 09:18 AM   #10
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

You can use some php code located in postbit_display_start (which is better than JS as it will work when JS is disabled on the user's end):
You must first be a registered member to view any code.
Then just put $banner, wrapped in the conditional, in the postbit(_legacy) template & enjoy .




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
Poster username in a separate column (all over the forum) SolidSnake@GTI vBulletin 3.5 / 3.6 Hack Releases 0 06-23-2007 01:42 AM
How To Show A Banner After The First and Last Post In A Thread xpgo General vBulletin Discussion 1 02-19-2007 09:41 AM
User Cp Critical Error Nick R Site Feedback 6 08-03-2006 10:39 AM


All times are GMT -3. The time now is 01:25 PM.


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