vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Postbit for everyday in the week (https://vborg.vbsupport.ru/showthread.php?t=53750)

all-the-vb 06-01-2003 10:00 PM

Postbit for everyday in the week
 
Postbit for everyday in the week

hacked by All-the-vb

What this hack does:

Simply hack it's show you for every day in week postbit .. and you choose which postbit it will show up
Ex.postbit999 will be show in Sunday.. etc
*also u can show more than templets in day...

* install leavle : easy

:smoke:

Install Info:

Hack Version: 1.1
Files to edit: (admin/functions.php)
Time to install: 1 Minute

forums_777 06-02-2003 09:19 PM

:laugh: Nice idea

Sulaiti 06-03-2003 02:26 AM

Very cool I'll install it

Regards

meCOOL 06-03-2003 02:40 AM

Thnk you bro for this Hack

i will try it now

meCOOL 06-03-2003 02:41 AM

Thank you bro for this Hack

i will try it now

ghroob 06-03-2003 06:31 AM

Thank you
Very nice idea

:)

Chris M 06-03-2003 08:54 AM

Interesting concept;)

Satan

Neo 06-05-2003 03:50 AM

Heh.

jancarlo 06-06-2003 02:48 PM

allora, find in admin/functions:

eval("\$retval = \"".gettemplate("postbit")."\";");
}
return $retval;
}

replace:

$sunday="postbit";
$monday="postbit1";
$Tuesday="postbit2";
$Wednesday="postbit3";
$Thursday="postbit4";
$Friday="postbit5";
$Saturday="postbit6";
$today = date("w");
$naif = array("$sunday", "$monday", "$Tuesday", "$Wednesday",
"$Thursday", "$Friday", "$Saturday");
eval("\$retval = \"".gettemplate("$naif[$today]")."\";");
}
return $retval;
}

result: I do not see more the list of the threads, why?

you see GIF under :ermm: :ermm: :ermm:

all-the-vb 06-06-2003 03:03 PM

because you did not write the template names like what i said

for example :

eval("\$retval = \"".gettemplate("postbit")."\";");
}
return $retval;
}

replace:

$sunday="postbit";
$monday="postbit";
$Tuesday="postbit";
$Wednesday="postbit";
$Thursday="postbit";
$Friday="postbit";
$Saturday="postbit";
$today = date("w");
$naif = array("$sunday", "$monday", "$Tuesday", "$Wednesday",
"$Thursday", "$Friday", "$Saturday");
eval("\$retval = \"".gettemplate("$naif[$today]")."\";");
}
return $retval;
}

that's work


All times are GMT. The time now is 07:19 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.00982 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
  • (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