vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vB2 hacks for vB3? (https://vborg.vbsupport.ru/showthread.php?t=67864)

X-Fan 08-01-2004 10:48 AM

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)

MindTrix 08-01-2004 11:06 AM

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

AN-net 08-01-2004 01:44 PM

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.

Xenon 08-01-2004 02:14 PM

especially the first one is doable via template conditionals now :)

X-Fan 08-02-2004 07:27 AM

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?

Zachery 08-02-2004 07:53 AM

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>

X-Fan 08-02-2004 08:10 AM

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?

sabret00the 08-02-2004 08:29 AM

<if condition="$post[postcount] == 1" AND ismemberof([high]usergroupid,usergroupid[/high])>

X-Fan 08-02-2004 08:39 AM

Quote:

Originally Posted by sabret00the
<if condition="$post[postcount] == 1" AND ismemberof([high]usergroupid,usergroupid[/high])>

Not usergroups, forums, thanks :)

Zachery 08-02-2004 09:35 AM

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.


All times are GMT. The time now is 06:52 PM.

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.01644 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete