vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Hot Topics/Threads (https://vborg.vbsupport.ru/showthread.php?t=79757)

Lionel 04-11-2005 09:37 PM

Any ideas yet about the double threads display?

tnguy3n 04-11-2005 10:49 PM

:confused: Did you make any change in the script? You alter vote to totalvote?

Lionel 04-11-2005 10:54 PM

none whatsoever. not in templates not in file. straight from downloading to my server.

dede1 04-12-2005 04:57 AM

Hello

I get only a white side, look:
http://www.dede1.mine.nu/Board/toptopics.php

pjdaley 04-12-2005 05:09 AM

Quote:

Originally Posted by dede1
Hello

I get only a white side, look:
http://www.dede1.mine.nu/Board/toptopics.php

check your templates, make sure you did them right.

DR?@M W?@V?R 04-12-2005 07:26 AM

nice mod, thanks for the database update. I noticed that there was 4 uncached templates, under.

$specialtemplates = array();

I put.

$globaltemplates = array(
'TOPTOPICS',
'toptopics_highvote',
'toptopics_mostreplies',
'toptopics_mostviews');

And I had to require the back-end after this or it would not pre-cache.

// #################### DEFINE IMPORTANT CONSTANTS #######################
//define('NO_REGISTER_GLOBALS', 1);
//define('THIS_SCRIPT', 'toptopics');

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

$globaltemplates = array(
'TOPTOPICS',
'toptopics_highvote',
'toptopics_mostreplies',
'toptopics_mostviews');

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');

DR?@M W?@V?R 04-12-2005 08:09 AM

how would you apply permissions to view topics, as 2 threads I have are in the admin forum and I dont want guest to view them.

http://www.majesticforum.com/forum/toptopics.php

dede1 04-13-2005 03:38 AM

If guests the side see comes may only the white side may guests you do not see comes no rights.

Where is the mistake there?

Nordinho 04-19-2005 10:54 PM

this looks very nice...one question though...would it be possible to display the top threads from specific forums??

vakvak 04-21-2005 01:30 PM

thank...

But problem

Problem vbulletin options/top topics setting

settings not
Upload toptopics.php to your /forum home :::::::: ok
Sql ::::::: ok
4 new template :::::::: ok

but view not: help pls

https://vborg.vbsupport.ru/external/2005/05/16.jpg


All times are GMT. The time now is 04:29 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.01034 seconds
  • Memory Usage 1,730KB
  • 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
  • (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