vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Top Topics/Threads (https://vborg.vbsupport.ru/showthread.php?t=99397)

tnguy3n 10-25-2005 10:00 PM

Top Topics/Threads
 
Author: tnguy3n
Live Demo: http://www.vbviet.org/vb35/toptopics.php

This is port of my vb3.0 Top/Topics/Threads

Description:
This hack pulls out from database most viewed, most replied, and high rated topics, and display them on one page. Admins have ability to enable/disable guest access, select which blocks display on the page.

New settings: 7
Template Mods: 4 new templates
File Mods: 0
New File: 1

#########
UPGRADE

If you had previously installed my Top Topics/Threads for vb3.0, you don't need to run the queries again. All you have to do is upload (and overwrite) the toptopics.php file.

michaelbenson 10-26-2005 09:40 PM

I like it, nice idea.
Sort of like a mini statistics page

/me says yey, install #1

TTG 10-27-2005 12:17 AM

Should there be a plugin / product in the zip ?

tnguy3n 10-27-2005 12:40 AM

Quote:

Originally Posted by TTG
Should there be a plugin / product in the zip ?

that's why it's called extension. :p
well, i think you can make this as a plugin too, but it still runs the same number of queries.

TTG 10-27-2005 12:44 AM

Quote:

Originally Posted by tnguy3n
that's why it's called extension. :p
well, i think you can make this as a plugin too, but it still runs the same number of queries.

ok thanks .. but there are no options in admincp to allow viewing the toptopics !?

Quote:

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

tnguy3n 10-27-2005 01:20 AM

Quote:

Originally Posted by TTG
ok thanks .. but there are no options in admincp to allow viewing the toptopics !?

Look for Top Topics in vBulletin options.

TTG 10-27-2005 03:02 AM

Quote:

Originally Posted by tnguy3n
Look for Top Topics in vBulletin options.

That's where I thought it would be, but it 'aint there !

Code:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';

INSERT INTO `setting` VALUES ('toptopics_noguest', 'toptopics', '1', '1', '' at line 1


Snake 10-27-2005 06:41 PM

Thanks, like the hack. :)

lazytown 10-31-2005 05:11 AM

Something is missing from the Zip file. I installed it correctly, however, in the AdminCP under TopTpics, there are no options at all, just a heading for TopTopics. I'm assuming there are supposed to be some options there.

When I go direclty to the toptopics.php file I get

-----
ADMIN, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
-----

Please DL the file and see if I am missing something, because I don't see where in any of the files or directions the adminCP would have settings.

-vissa

lazytown 10-31-2005 05:22 AM

I think the problem may be with the SQL inserts.


All times are GMT. The time now is 11:42 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.01185 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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