![]() |
Demo: http://nekio.com/forums
PHP Code:
|
heres what i did from a upgrade from your code.
Features: -Different bar for members and visitors -Admins avatar plus welcome message for logged out users on stats bar -log in feature in visitors stats bar -hide unwanted information from certain forums -code updated http://www.animeutopia.com/unreg.gif logged in http://www.animeutopia.com/reg.gif |
fantastic hack
works very well and easy to install keep up the good work |
you should post this in a text file, it kinda defeats the purpose of stopping unliscenced members download files when you just show them it in the thread ;)
|
PPN
(im registered by the way) :p |
like this isnt his Hack...
|
Is this a bug?
Look at this screen shot, one of the threads is dispayed with "no views", when in fact is about 45 views. |
its not really shwing it with no views i do believe this is some one elses hack that was distributed earlier by another user who offered to share it and we all together resovled the problem search in requests for top5 stats or stats you will find the thread started by sarge and in the thread it tells to fix it and how
|
Quote:
I just had to tweak the HTML in the template. :) |
how would i put the stats on a separate page and link to it just like the view new posts link on the home page
|
thanks NanoEntity!!:D
it's a great hack ~~ |
Quote:
I agree, I got this long ago and it was not done by him... :mad: |
is there anyway of making it so it don't show posts from certain forum like posts in the Admin forum etc so others can see titles of posts from certain forums :D
|
Add some sql queries to the code to exclude certain forums...
Satan |
yeah ill help ya a bit further then sayong run some queries
goto the index php find the first // Top 5 Thread Replys then look where it says $pop mske the line look this way Code:
$pop = $DB_site->query('SELECT title,threadid,lastpost,lastposter,views FROM thread WHERE forumid<>='XX' AND forumid<>='X' AND forumid<>='XX'ORDER BY lastpost DESC LIMIT 5'); |
I get this error:
Fatal error: Call to undefined function: phperror_reporting() in /home/mtgshoe/public_html/forums/index.php on line 1 i'm using version 2.2.5 |
What would the sql query be to exclude only 1 forum?
|
Quote:
|
Here's a minor adjustment that a friend did up for me.
Its to cut off the last 5 replies if Theyre too long for your setup. (I have a thin welcome panel and long thread titles wrap around and look like crap) Code:
// Top 5 Thread Replys Im not sure what's different since I didnt do it, so just copy that over your current code starting with the //Top5 replys and ending with it too. Oh, this is in the index.php in case you didnt know lol. |
Quote:
Quote:
|
is there a way of stoping it showing thread/posts in provate forums to groups that can not access them
i want to stop normal member from seeing posts in Admin forum please help me :D |
you can prevent forums from displaying, but it's either on or off, not dependant on their user group.
|
well how can i stop forums from showing :D
|
I need help on that also.
|
I love it, it is a great hack thanks.
|
I have question i want to add another table to the stats and i want to be shown there number of posts from certain forum like the number of posts that user have but only from the certain forum. how can i do that?
|
I have a question how can I exclude private forums? Like only mods,admin,smod can see it.
|
I can't find something in the admin/index.php :( Thats the problem for the
most part. Dark Shogun |
I hate to tell you guys but I killed Nano a little but ago...... *points to his profile* Thanks to the help of Nano I kind of update this and included the piece to exclude certain forum :)
|
so for more than 1 forum do I need to make it 1,5 or is it something else?
|
[QUOTE]Originally posted by Dark Shogun
I can't find something in the admin/index.php :( Thats the problem for the most part. Dark Shogun |
could anyone tell me?
|
Sorry this hack is unsupported by me anymore, there is an updated version of it, but its private.
Demo at http://forums.gfxart.net |
with this code do u have to add all the forums you want to show or all the ones you don't :D
$pop = $DB_site->query('SELECT title,threadid,lastpost,lastposter,views FROM thread WHERE forumid='XX' AND forumid='X' AND forumid='XX'ORDER BY lastpost DESC LIMIT 10'); |
nice hack
|
okay I got the topics hidded from hidded forums but is there a way I can make it to show it to the people that have access to the forum?
|
Exclude users + forums
so it looks something like this $pop = $DB_site->query('SELECT title,threadid,lastpost,lastposter,views,user.user name FROM thread WHERE forumid NOT IN(1,56,83,13), usergroupid NOT IN(8,4,3,1) LEFT JOIN user ON (user.username=thread.lastposter) ORDER BY lastpost DESC LIMIT 10'); 8 = Banned by Moderators 4 = (COPPA) Users Awaiting Moderation 3 = Users Awaiting Email Confirmation 1 = Unregistered / Not Logged In Enjoy. |
All times are GMT. The time now is 11:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|