Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2004, 11:48 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vB2 hacks for vB3?

There were some hacks for vB2 that I found incredibly useful for my forums, and I was wondering if they have been converted for vB3? If not, would someone be interested in converting them?

Hacks such as:

Change style of first post hack (first_post.txt)
Sponsor hack (sponsors.txt)
Move posts from one thread to another (move_posts.txt)
Merge threads (spinner.txt)
Quick delete post (quickdeletepost_v11.txt)
vB Sig Editor (vb_sig_editor.txt)
Search/Sort/Order in thread view (adds_in_thread_hack_120.zip)
Options Advisor (options_advisor.zip)
Load Limit Bypass for Admins, Mods, Super (server_load_bypass.txt)
phpMyChat integration Hack (phpmychat_integrate.txt)
vB Links Directory v2.0 (vblinkdir2012.zip)
Reply With Quote
  #2  
Old 08-01-2004, 12:06 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your best bet is to actually look in the vB3 release section or use the search function. Also people cannot convert the hacks without the original authors concent
Reply With Quote
  #3  
Old 08-01-2004, 02:44 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by X-Fan
There were some hacks for vB2 that I found incredibly useful for my forums, and I was wondering if they have been converted for vB3? If not, would someone be interested in converting them?

Hacks such as:

Change style of first post hack (first_post.txt)
Sponsor hack (sponsors.txt)
Move posts from one thread to another (move_posts.txt)
Merge threads (spinner.txt)
Quick delete post (quickdeletepost_v11.txt)
vB Sig Editor (vb_sig_editor.txt)
Search/Sort/Order in thread view (adds_in_thread_hack_120.zip)
Options Advisor (options_advisor.zip)
Load Limit Bypass for Admins, Mods, Super (server_load_bypass.txt)
phpMyChat integration Hack (phpmychat_integrate.txt)
vB Links Directory v2.0 (vblinkdir2012.zip)
many of these have been done, some are part of the standard vb package, and others were not officially released but you can find them by searching, while others still have not be converted.
Reply With Quote
  #4  
Old 08-01-2004, 03:14 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

especially the first one is doable via template conditionals now
Reply With Quote
  #5  
Old 08-02-2004, 08:27 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
especially the first one is doable via template conditionals now
I guessed it might be, but at the moment I'm clueless as to how to do it! Any chance someone could please help me with the code to use to allow an alternate postbit template to be used for the first post of a given group of forums?
Reply With Quote
  #6  
Old 08-02-2004, 08:53 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by X-Fan
I guessed it might be, but at the moment I'm clueless as to how to do it! Any chance someone could please help me with the code to use to allow an alternate postbit template to be used for the first post of a given group of forums?
<if condition="$post[postcount] == 1">

Differnt postbit style for the first post here

<else />

All other posts

</if>
Reply With Quote
  #7  
Old 08-02-2004, 09:10 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
<if condition="$post[postcount] == 1">

Differnt postbit style for the first post here

<else />

All other posts

</if>
Cool, thanks!

And if I wanted to add a conditional of it being first post and in a specified group of forums, how would that be coded? I've managed to get it showing in one forum, but I need it showing in multiple.

Also, I added the above code to postbit and it didn't work, so I added it to postbit_legacy and it did. Can someone explain the difference between the postbit and postbit_legacy templates, please?
Reply With Quote
  #8  
Old 08-02-2004, 09:29 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<if condition="$post[postcount] == 1" AND ismemberof([high]usergroupid,usergroupid[/high])>
Reply With Quote
  #9  
Old 08-02-2004, 09:39 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
<if condition="$post[postcount] == 1" AND ismemberof([high]usergroupid,usergroupid[/high])>
Not usergroups, forums, thanks
Reply With Quote
  #10  
Old 08-02-2004, 10:35 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by X-Fan
Cool, thanks!

And if I wanted to add a conditional of it being first post and in a specified group of forums, how would that be coded? I've managed to get it showing in one forum, but I need it showing in multiple.

Also, I added the above code to postbit and it didn't work, so I added it to postbit_legacy and it did. Can someone explain the difference between the postbit and postbit_legacy templates, please?
er Sabre thats a bit off as well the function is is_member_of($var, MEMBERGROUPID/USERGROUPID)

and that would cause an error because of the miss placed "

getting back to it

<if condition="$post[postcount] == 1 AND in_array($foruminfo[forumid], array(X,Y,Z)">

The postbit template, is how vBulletin.com's showthread looks (info on top and post below) postbit_legacy is vBulletin.org's / vBulletins 2's look, Userinfo on the left, post on the right.
Reply With Quote
Reply


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 03:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04134 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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