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)
-   -   WebTemplates 2.x: VB Integrated Content Management System (https://vborg.vbsupport.ru/showthread.php?t=54875)

Logician 08-09-2003 08:31 AM

1- Yes. Just set the banned userid field in the TARGET webtemplate as 1
2- $bbuserinfo[userid]

soccerclue 08-11-2003 09:52 PM

So is it correct if inserting the variable like this?

$cin = mysqlconnect ("localhost","$bbuserinfo[userid]","password");

What would be the password variable?

chad 08-16-2003 06:37 AM

sweet cool hack.

gmarik 08-16-2003 10:28 AM

When can I await a 3.0 version for this great hack, Logician?

lasto 08-28-2003 09:52 PM

very nice hack - been playint with it all day

/me clicks install

i sort of get the drift on how it works but cant get it working vica-versa which i thought it would as it would make the queries dynamic.

The vistors count to this page i wanted to add to me index.php as a sort of counter but dont work does it.
Is there anyway i can make it work or am i going way overboard here or missed something?

Besides that it works well and yep if u have microstats just add $footer to end of your templates to get server load and web queries

Logician 08-29-2003 09:13 AM

@lasto: Sorry did not understand your question?

lasto 08-29-2003 10:25 AM

sorry Logician will try again :)

u know how your hack shows how many vistors have been on a page etc (sort of like a web counter) why cant i add that query to bottom of my forum homepage so it makes a counter there ?

Logician 08-29-2003 10:39 AM

Quote:

Today at 02:25 PM lasto said this in Post #157
sorry Logician will try again :)

u know how your hack shows how many vistors have been on a page etc (sort of like a web counter) why cant i add that query to bottom of my forum homepage so it makes a counter there ?

Because webqueries and other webtemplate related features work only in your webtemplates (ie when view.php is run), not in your regular vb pages.

For instance to display/run that counter in your webtemplates, you first run "view.php" which has the code for the counter but to display your forum home page, you run "index.php" so counter code does not run.

You need an independent hack for your request. I can suggest hack requests forum..

lasto 08-29-2003 10:48 AM

nps and cheers for feedback

soccerclue 09-04-2003 09:32 PM

Hi..can someone help me here? I have problem creating php page with this hack...please take a look at this page... http://www.asianguild.com/forum/view.php?pg=oddss I am not sure what's wrong. I tried creating php page. Hope someone can help me. Thank you.


All times are GMT. The time now is 05: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.01218 seconds
  • Memory Usage 1,735KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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