vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   showthread 2.0.3 (https://vborg.vbsupport.ru/showthread.php?t=24340)

Knoman 08-02-2001 01:16 AM

okay... i have installed some of my own custom hacks in 2.0.1 with no problems, now that i have upgraded to 2.0.3, im totally lost. my hacks no longer show up, i tried to re-input my hack in 2.0.3, only to see disappointment.

this is where i normally inserted my hack in 2.0.1


PHP Code:

    $sli 0;
    while (
$sli $post[starlevel]) {
      
$post[stars] .= "<img src=\"images/stars/$post[starimg].gif\" border=\"0\">";
      ++
$sli;
    } 

****HACK goes here****

PHP Code:

    eval("\$post[profile] = \"".gettemplate("postbit_profile")."\";");
    eval(
"\$post[search] = \"".gettemplate("postbit_search")."\";");
    eval(
"\$post[buddy] = \"".gettemplate("postbit_buddy")."\";"); 


now, the info that the hack uses is post counts, post per day, and days registered.

where on 2.0.3 would i install my hack?

tubedogg 08-02-2001 01:29 AM

You would have to ask the author of the hack as first we have no idea what hack you are talking about and second we cannot support hacked boards.

Knoman 08-02-2001 01:33 AM

i created the hack myself. but i have no clue on where to put it on the new showthread.php

i am the admin of a gaming site. i have an hp/mp/exp and level up system.

if it helps, this is the code (i really didnt want to show this...but if it helps)

***code removed***

these codes are used in the postbits templates, under the avatar

tubedogg 08-02-2001 02:01 AM

Like I said, we can't support hacking. If you'd like I can move this to the hacking forum where other members of the community can try to assist you.

Knoman 08-02-2001 02:05 AM

would you be so kind? :)

tubedogg 08-02-2001 02:11 AM

Sure. :)

Wayne Luke 08-02-2001 02:25 AM

All of the code used to generate the postbit templates is now located in the admin/functions.php file. You will most likely have to re-apply your hack there.

Knoman 08-02-2001 02:40 AM

thanks... everything is back to normal. :)


All times are GMT. The time now is 07:02 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.00948 seconds
  • Memory Usage 1,722KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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