![]() |
Quote:
http://www.aikiweb.com/forums/engine.php Running on FreeBSD 4.0-stable, Apache 1.3.12, mySQL 3.22.32, and PHP 4.0. |
TB2: Yes.. just change your sql statement in the search.php3 you created to read:
SELECT threadid,title FROM thread WHERE visible=1 and forumid != BADFORUMID1 and forumid != BADFORUMID2 ORDER BY lastpost DESC Replace BADFORUMID1 and BADFORUMID2, etc. with the forum id's that you do not want to be indexed. |
Stallion: I was just looking through the global.php file and it's not necessary for you to issue the mysql_pconnect() or mysql_select_db() calls at the top of search.php3. A database connection is already created inside of global.php.
Also, just to clarify for everyone.. search.php3 can be any filename you wish. I named it to search_hack.php myself since we already had a search.php file we were using. And lastly.. it's a drain on the server to use .htaccess files... those apache directives could just as easily be put inside of a set of Directory tags in the main httpd.conf file. Apache will be all the faster for it. i.e. Code:
<Directory /www/sitename/forums/> Stallion: great hack.. thanks. |
Including the "<base href="forums/URL"> in the $sccinclude messes up the forums for Netscape users. For example, when they went to my board, they would see the link for a forum as "http://forumdisplay.php?yadda-yadda". I've taken it out and it works fine now, but unfortunatly the search page doesn't work anymore. What should I do to remedy this?
|
cool, i would like to have this setup and would need some guidance...
i am new to linux, new to dedicated server use and new to vbulletin... should i be messing around with it right now ? |
Quote:
My board: http://www.aikiweb.com/forums/ The hack: http://www.aikiweb.com/forums/engine.php |
This is cool is there any simple way to create more of a structure. IE
Main Page: Forum 1 |_ New Page With Posts XX Per Page Forum 2 |_ New Page With Posts XX Per Page Forum 3 |_ New Page With Posts XX Per Page Just an idea... |
Quote:
|
1) Listen to danbeck...he speaks the truth :)
2) JimF, it should be the full URL, nothing relative 3) eva2000, as long as you don't overwrite any existing files, no harm can be done :) 4) Brian: not sure what you mean... |
What I meant was for the main page to have links to the fourms, and then the page that shows the links for that forum have it make a new page for every 50 or so topics.
For example say the main page would have a link to each forum and then the page with the posts for each forum would show xxx topics per page then link to the next page that way if you have a big forum you dont have thousands of links all on one page |
All times are GMT. The time now is 02:49 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:
|