![]() |
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:
|
All times are GMT. The time now is 05:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|