vb.org Archive

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

clouds_kid 07-22-2002 07:33 PM

Need a Name
 
Well we really like what squaregamer has. It's a hack that ties in the homepage with the forums page. I was wondering if that was released here, cause I don't know a name to put in the search box that would work....

Xenon 07-22-2002 07:35 PM

do you mean the webtemplates hack by logician?

i don'T know squaregamers site...

clouds_kid 07-24-2002 08:45 PM

It's a hack that will incorparate part of the forums on the home page. Like if an admin posts something than it will be up on the home page. I think it's mainly a php tie in between between the homepage and the forums.. would that even be possible?

Xenon 07-24-2002 08:48 PM

as i know you can use logicians webtemplate hack for this too

or some of the newsscripts out of the releaseforum.

there are more hacks out which do some sort of this you want ;)

nabeel 07-24-2002 08:49 PM

yeah, i have this query that will do it for ya:

PHP Code:

$sql "SELECT * FROM thread WHERE forumid=59 ORDER BY threadid DESC LIMIT 5";
    
$result mysql_query($sql);
    
    while(
$row mysql_fetch_array($result)){
        
$psql="SELECT * FROM post WHERE threadid=$row[threadid] AND dateline=$row[dateline]";
        
//do whatever you want with it


and just change the 59 in the first statement to the forum id of the forum you want shown your front page, and the 5 to the number of topics you wanna pull

i use it on my sites front page

Chris M 07-24-2002 08:50 PM

I think you mean vBindex?

Search for : vbindex...

Satan


All times are GMT. The time now is 08:40 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.01066 seconds
  • Memory Usage 1,716KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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