Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Changing The Way MyBB Does Threads
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #6
RE: Changing The Way MyBB Does Threads
(01-04-2013 02:08 PM)ZiNgA BuRgA Wrote:  The only place where XThreads would be relevant would be with styling threads, which is rather trivial to do, as shown in http://mybbhacks.zingaburga.com/forumdisplay.php?fid=25

Maybe not even there if he doesn't care about editing styles from the end-view and is comfortable doing it directly from the css panel in the ACP.

@OP, You can currently do something like (forumdisplay_thread* templates):

HTML Code
class="thread_{$thread['tid']}"


Code:
1
2
3
4
5
6
7
*[class*='thread_'] {
/*to all threads*/
}

.thread_1 {
/* self explanatory, I think.*/
}

* There is not css tag xD

(01-04-2013 12:06 PM)Eric J. Wrote:  So first off, I want the index page to be a list of threads from a certain section (The forum will only have one section).[/b]

Should be easy to rename the forumdisplay.php file to index.php and make the core edits to force the FID in it? Then you edit the forumdisplay templates as you normally will.

You may need some htaccess redirection (or core edits) from forumdisplay.php to index.php too.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 01-05-2013 05:29 AM by Sama34.)
01-05-2013 05:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Changing The Way MyBB Does Threads - Sama34 - 01-05-2013 05:28 AM

 Standard Tools
Forum Jump: