![]() |
Well, I don't allow users to select styles on my board. Each category ties into a site with its own layout, thus each category has its own layout that blends it into the site.
www.lmalla.com and click on the Everquest logo for an example (It's the only one I have public atm). Click on forums and you'll see what I mean. When you click on forums, you're looking at a category under forumdisplay, not forumhome. Also the news on that page is with your hack, though I have the style hardcoded in the templates atm. |
hmkay, well, it's quite easy to get a page to use a different style.
1) install freddie's User's Style in Post hack; 2) set the variable $changestyle with a styleid of choice _before_ including global.php in the file :) you can pass the variable through the URL also... So then you can send people from each category to see it in that cat's style. But note that each of them will still see the exact same _content_, just not in the same style :) |
Does this work for 2.3.0?
Coz I cant find this in newthread.php: PHP Code:
|
Actually, you can do it without the newthread.php modification and the mysql database modification. Instead, you can use this hack WITHOUT MODIFYING ANYTHING to your site. Just open newsportal.php from the hack, and use this query at the start:
PHP Code:
|
^What you posted is another bugfix? Or it fixes the same bug? Or is it not related to the random post bug?
Or am I confused! ;) |
Quote:
Thanks in advance, Shart |
I think he means we replace the existing query :s
|
Yeah, there's a query VERY much like that one at the start of newsportal.php, just replace it with the one you see above :)
|
What will this new query do? Fix the bug?
|
Yes.
|
All times are GMT. The time now is 11:31 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:
|