![]() |
Couple of things, as I'm new here, ... but first: great hack! Thank you!
I received an identical error as freeshares1 did (the global.php unable to access the admin/config.php file) and solved it the same way by changing the full server UNC path to: chdir("../forums"); require("global.php"); Second item... and I don't know if this was something peculiar to just my server or not, but the archives were displaying uber slow. I tried changing the 'include' command for the header/footer lines from: include "$archiveurl/footer.php"; to: readfile("http://www.yoursite.com/archives/header.txt"); (notice that i renamed the actual header.php file to header.txt). And, all of a sudden the whole archives site display became lightning quick! Not sure what that was about, but I wasn't familiar with the include command and I was with the readfile command which allowed web URLs, which is why I tried it. Again, not sure if the massive difference in speed was unique to my site or not. Third item is that I'd like the order of threads displayed sticky first followed by most recent and ending with the oldest thread instead of the other way around... Is this what I change in the forum file: $getthreadids=$DB_site->query(" SELECT thread.threadid,thread.title FROM thread WHERE thread.forumid = $forumid AND thread.visible=1 ORDER BY sticky DESC, lastpost "); ?? Do I change the 'DESC' to 'ASC' or something? Or, is it more complicated than that? The last question/issue I have is with the main index.php display of the forums table. The individual forums (forums that contain threads) link properly and perfectly. However, the forum Groups (the non-indented titles that have indented forums beneath them) link to a blank page containing only part of my header/footer and no data. Everything else links/works great. Is there any way to fix this or better yet have only Group titles be plain text instead of hyperlinked? Thanks, SkuZZy!! |
Quote:
Old Format: 4 Stoke Forum--> Used to be a category Yamaha--Category YZ426 Actual Forum. In its original form, only the 4 stroke forum was listed and resulted in blank pages when clicked. Here is the new format: 4 Stroke Forum-->Acts as a Forum Yamaha--->Category YZ 426--Acts as a forum. Note that this is NOT a sub of Yamaha any longer Coupled with the following change to the index.php file, I have complete indexing of the site! if ($depth<$forumhomedepth+1) { echo "<ul>"; makeforumbit($forum['forumid'],$depth+3,$forumperms); echo "</ul>"; Good Luck |
It's a very cool hack. And he is runing perfect
Thanks |
Wow! My site was being spidered for several hours this morning. I can't wait to see the listings. :D
Thanks for the cool hack Xenon and SkuZZy This hack Rocks!!! |
OK. Got my header and footer to display properly. But, still haven't been able to get the links to work. Still get an HTTP404 error. Any suggestions as to where I might look? Thanks!!
|
The hack is working fine for me, but I am still wondering how to display subfora.
|
Quote:
|
Quote:
|
Congrats to all who got majorly spidered :)
Google dance is happening now. You can still get spidered though. The main google spider usuaully happenjs 5 days after the dance begins, so get your archive up before the 5th of january and you will have a good chance at getting your posts included in the next google update! (end of january). |
Quote:
www.jokersrewards.com/forum/history Config (well the important bits) I hope this helps a couple of people. Please edit if i am not allowed to post the below. // Full PATH to your global.php file chdir("../"); require("global.php"); $title="Jokers Rewards"; $forumurl="http://www.jokersrewards.com/forum"; $archiveurl="http://www.jokersrewards.com/forum/history"; |
All times are GMT. The time now is 11:50 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:
|