MyBB Hacks

Full Version: Creating XThreads Application Togehter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
Hmm, I dont know what you mean about stickies, but here is a mock up I made Smile The X and tick are representing filterable threadfields Smile

Using the filter box
The idea is, if you click forum, thats easy, it takes you to that forum, but if you click on the X or the TICK then the forum display of this forum display (the one in the mockup)  will filter showing all threads from those three forums that have the filter.

From the thread thumb you can go straight to the thread using the thread TID.

And yes, it does look remarkably like my set up http://www.leefish.nl/mybb/forum-7.html
I've tried it. This is what I get (using xthreads_sanitize_disp):
http://www.14.mynie.co.cc/forumdisplay.php?fid=44

You can try to create a new thread in Test Forum 1 and test Forum 2.
The Main Forum is the central forum.
Unfortunately, I can not make it "general".
That is looking very close indeed - are the other two forums sub forums of the main forum? If they are all independent forums and showing the filters (and other threadfields such as the thumb of course Tongue then that is great.  I would be very interested to see how you did that. I have not heard of xthreads_sanitize_disp.
lol, rateu. you have created all the main applications that an webmaster need. we are out of ideas Tongue

i have seen some sites having the recent posts being poped up ajaxically, can we something like that with xthreads or this is non-xthread feature?

suppose we have categories - 1,2,3,4,5

we must have a 800x200 recent topics box on index page divided into 5 columns as

------------------------------------------------------------------
|      1       |      2      |       3       |       4       |      5       |
|------------|-----------|------------|-------------|------------|
|   thread1 |   thread1| thread1   |   thread1  |   thread1 |
|   thread2 |  thread2  |  thread2   | thread2  | thread2   |
|   thread3  | thread4  |   thread3  | thread3   | thread3  |
           .             .               .                .              .
           .             .               .                .              .          
           .             .               .                .              .

like above the threads posted in any of the forums in those 5 categories must be poped up ajaxically into the recent topics block.
The structure of the forums:
http://www.14.mynie.co.cc/forumdisplay.php?fid=41
I'm using a Closed forum for the Main Forum.
Because I think I don't need to create a new thread in that forum.
I use it to pull the data from Forum 1 and Forum 2 only.
The reason why I use a forum as Main forum, because with this way I can grab the fid.
It is needed for filtering threads.
And with it, plus using the xthreads_sanitize_disp function, I can use {$GLOBALS['threadfields']['key']} variable in my "new template".
So, some formatting that we have created in our custom thread fields, like Display Format and Formatting Map List, can be "captured"/displayed "properly".

But still, it is hard to make it "general".
Plus, I don't know how XThreads works.
it is hard for me to understand the code.
Well, I'm still noob, Lee Biggrin
signature/graphics of the week/month application that grabs a random signature or graphics that are attached in the respective graphics forums and displays at the footer for week or month or so. it will be good, if it random select the sig/graphic which have high ratings/views/replies.
I think I am not sure what "general" is? I would be interested in knowing how to do it though Smile

Any chance of a tutorial on the xthreads_sanitize_disp?

Re 1master1, I think you could do that with a plugin Tongue
@ Leefish: What I meant by "general" is, I can't make it for all application and not flexible. I'm using a plugin for that. I don't know how to make it like that without an additional plugin. xthreads_sanitized_disp is one of XThreads function. It is not in template "level". I know a very very very little about it. Even I don't know whether I use it in the right way or not.

@ 1master1: What do you mean by "signature" or "graphics"?
@ RateU I see. I did wonder how you were doing it. I think I will have to go back to my plan of using a page.

BUT

I had another idea - XThreads tags cloud

The data in the threadsdata fields could make a great tag cloud Smile
there are some forums which showcase the members work, in the form of selecting the best animated signature or graphic made by users.
Pages: 1 2 3 4 5 6 7 8 9 10
Reference URL's