vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Limit Break for Users (https://vborg.vbsupport.ru/showthread.php?t=63924)

Ryan Ashbrook 04-14-2004 10:00 PM

Limit Break for Users
 
Hack by: Ryan Ashbrook
vBulletin Version: 3.0.0
Hack Version: 1.0, Build: 1

This hack gives users a different limit break based on post count.

If you want to add limits add this before the main hack code:

PHP Code:

if ($post['posts'] > ~postsrequired~) {
$post['limit'] = '~limitname~';
} else 

Replace ~postsrequired~ with the posts required and ~limitname~ with the limit's name. (Duh)

Make sure there is a space after "else" in the code above.

You also have to put the code inside the other codes, so if this is needed then put a space before the "if" in the above code.

Enjoy! :)

The postbit will look like this:

Posts: ~postcount~
Limit: ~limit~

So a screenshot isn't nessicary but if you insist I'll make one upon request.

Zachery 04-15-2004 09:25 PM

Quote:

Originally Posted by Ryan Ashbrook
Hack by: Ryan Ashbrook
vBulletin Version: 3.0.0
Hack Version: 1.0, Build: 1

This hack gives users a different limit break based on post count.

If you want to add limits add this before the main hack code:

PHP Code:

if ($post['posts'] > ~postsrequired~) {
$post['limit'] = '~limitname~';
} else 

Replace ~postsrequired~ with the posts required and ~limitname~ with the limit's name. (Duh)

Make sure there is a space after "else" in the code above.

You also have to put the code inside the other codes, so if this is needed then put a space before the "if" in the above code.

Enjoy! :)

The postbit will look like this:

Posts: ~postcount~
Limit: ~limit~

So a screenshot isn't nessicary but if you insist I'll make one upon request.

We demand a screen shot

Ryan if you have some free time over the weekend could you spare abit of time to talk? ^^

Ryan Ashbrook 04-15-2004 09:39 PM

I roar at you, Zack.
[high]* Ryan Ashbrook posts screeny
[/high]

And I have time to talk always. :)

MrNase 04-16-2004 06:45 AM

Can someone please explain to me what this hack does!?! *g

Oblivion Knight 04-16-2004 07:08 AM

Quote:

Originally Posted by MrNase
Can someone please explain to me what this hack does!?! *g

It's similar to a second user rank if you like..
Handy if you allow custom titles I suppose, the "Limit Break" idea will be used mainly for RPG boards I'm guessing.. :)

Ryan Ashbrook 04-16-2004 02:16 PM

Quote:

Originally Posted by Oblivion Knight
It's similar to a second user rank if you like..
Handy if you allow custom titles I suppose, the "Limit Break" idea will be used mainly for RPG boards I'm guessing.. :)

Precisely.

You can use it for an additional User Rank System if you like as well. :)

GinjiAmano 09-27-2004 10:39 PM

very ff7! :D

SlowRoasted 10-12-2004 06:49 PM

any way to get it to display images instead of text?

Revan 10-12-2004 06:57 PM

Just replace the limitname with an img src I suppose
although you would probs have to use double quotes, " ".

This mod looks exactly like my very first PHP modification ever, one year ago, for wBB :)
Ah the times.... :)

SlowRoasted 10-12-2004 06:58 PM

im looking for a hack that will do images for certain post counts like phpbb has, should i use this one for that or should i go with something else, if so which hack?


All times are GMT. The time now is 12:30 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.01225 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete