Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Freddie Bingham Freddie Bingham is offline
Developer Last Online: Aug 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-19-2001 Last Update: Never Installs: 83
 
No support by the author.

This is a small hack that will show each users current selected style in showthread. For a demo just follow one of my links in my forum (chins & quills) and find your way to a thread.

Open showthread.php and find:
Code:
attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter
add this after it on the same line
Code:
,style.title as styletitle
find this in showthread.php
Code:
LEFT JOIN user ON user.userid=post.userid
add this after it on the next line
Code:
LEFT JOIN style on (user.styleid = style.styleid)
open up the postbit template and place this where you like
Code:
Style: <a href='index.php?styleid=$post[styleid]'>$post[styletitle]</a></smallfont>
Link it to whatever you want.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 08-28-2002, 12:39 AM
HappyPike's Avatar
HappyPike HappyPike is offline
 
Join Date: Feb 2002
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clicked install.
Reply With Quote
  #103  
Old 08-31-2002, 09:54 PM
BlackTiger BlackTiger is offline
 
Join Date: Nov 2001
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

begin 666 Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ What Styles are we All using .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT
M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O
M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE
M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E
M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT
M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J
M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4
8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R
`
end
Reply With Quote
  #104  
Old 08-31-2002, 09:54 PM
BlackTiger BlackTiger is offline
 
Join Date: Nov 2001
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

begin 666 Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ What Styles are we All using .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT
M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O
M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE
M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E
M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT
M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J
M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4
8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R
`
end
Reply With Quote
  #105  
Old 09-06-2002, 09:58 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed.

thanks a lot.
Reply With Quote
  #106  
Old 09-15-2002, 09:30 PM
Mono's Avatar
Mono Mono is offline
 
Join Date: Sep 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, thanks Freddie
Reply With Quote
  #107  
Old 10-20-2002, 08:52 PM
Graphics's Avatar
Graphics Graphics is offline
 
Join Date: Mar 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for some reason it shows the wrong style that i am using. i follwed the instructions exactly. i did do the 2 edits in the 2 places.

can ne1 help me
Reply With Quote
  #108  
Old 10-29-2002, 09:09 AM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great. 2.2.8.

Thanks.
Reply With Quote
  #109  
Old 11-22-2002, 04:22 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it but it wont display in the postbit Im sure I installed ir right.. does this hack have any problems with vbb 2.2.6 or something?
Reply With Quote
  #110  
Old 11-30-2002, 11:53 AM
stefros stefros is offline
 
Join Date: Oct 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anything display at all ?

Well i got another Problem , the displayed Style does only change if the User selects the new style in his profile .

When he just clicks the Link (from another Users Profile) his own Display doesnt show the new Style ...
any suggestions ?

Edit : the Problem is that the link doesnt change the php-variable , how do u do that ^^

doesnt work here either hehe
Reply With Quote
  #111  
Old 12-02-2002, 11:41 AM
Jean147's Avatar
Jean147 Jean147 is offline
 
Join Date: Apr 2002
Location: NRW, Germany
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 01:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04752 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete