vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - All Topic - Master Forums - Shows threads from multiple forums in one forum (https://vborg.vbsupport.ru/showthread.php?t=245839)

Ark del KAOS 07-07-2010 11:38 AM

Bird, I don't know enough English to be able to say how much I love U...

....shit, I was trying to make this around 4 months, and only got errors.

TT_________TT

Seriously, with only this I'm going to make you a shrine with candles and all....

BUT...if you can help me with an improvement...pff, I'm going to make the fuk'n shrine in the feedback forum of my community XD
I have one forum who contain the "multiforum" threads.
From this forum I want to load some threads in some other forums.
It's like a "official threads forum" about games, but then I want to show a game for the 360 and the PS3 into de x30 forum and the PS3 one.
How do I select this? With a prefix.

Can I filter the threads depending of the thread prefix it have?
Like (select all the threads from forumid 1 or (forum2 with prefix3))

BirdOPrey5 07-07-2010 12:06 PM

Quote:

Originally Posted by Ark del KAOS (Post 2065811)
Bird, I don't know enough English to be able to say how much I love U...

....shit, I was trying to make this around 4 months, and only got errors.

TT_________TT


Seriously, with only this I'm going to make you a shrine with candles and all....

BUT...if you can help me with an improvement...pff, I'm going to make the fuk'n shrine in the feedback forum of my community XD
I have one forum who contain the "multiforum" threads.
From this forum I want to load some threads in some other forums.
It's like a "official threads forum" about games, but then I want to show a game for the 360 and the PS3 into de x30 forum and the PS3 one.
How do I select this? With a prefix.

Can I filter the threads depending of the thread prefix it have?
Like (select all the threads from forumid 1 or (forum2 with prefix3))

LOL you're very welcome... I had been looking for this for years myself and am surprised no one figured it out sooner despite multiple requests from me and others...

As for your thread prefix situation I don't know the answer off hand... let me play with some things and see what I can come up with.

Ark del KAOS 07-07-2010 03:26 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2065821)
LOL you're very welcome... I had been looking for this for years myself and am surprised no one figured it out sooner despite multiple requests from me and others...

As for your thread prefix situation I don't know the answer off hand... let me play with some things and see what I can come up with.

That's exactly the same thing I think about when I started searching for some kind of official addon.
And, well, the solution of adding some "if" magic to the php code who make the list its the first thing I think about...but I'm more the designer guy than the developer one, and every one told me it can't be so easy XD
So I started to try some basics with the code, but I wasn't doing any progress with it.

This is a option so useful I don't know how anyone do it earlier ^ ^

TyPenn613 07-08-2010 11:15 AM

Bird, that's totally awesome! Thank you very much. I'm a bit behind with getting around to undertaking that plan, but once I get to it, I will be sure to give this a try and let you know how things go. Great work!

Ark del KAOS 07-08-2010 04:50 PM

Hey crack!
To filter them by prefix, I only need to chage this ;):
PHP Code:

            WHERE forumid IN (11795)
                AND 
sticky 0
                        
AND prefixid IN ('ps3x360''ps3x360wii''X360''x360wii''x360win')
                
$prefix_filter 

Very simple with your base work ^ ^

halkum 07-08-2010 08:52 PM

This is beyond awesome Bird:)

Been trying to make an add-on but having no luck.

Is there a way to prefix the forum ID's?
i.e. say forumid 7 is Gaming, foruid 8 is Offtopic. Both show in the forum but no separation. Would there be a way to auto-add prefixing of 'gaming' and 'offtopic' respectively to the threads based on the forum they came from?

My Forum's 4.0.4PL1

halkum 07-08-2010 09:19 PM

One other thing I noticed, any idea why the Thread/Replies count on the main forum.php page doesn't update to show how many threads are inside? Or the latest thread? -- I tried rebuilding the threads, and forums counts but neither worked.

Forum's 4.0.4Pl1

BirdOPrey5 07-08-2010 09:42 PM

Quote:

Originally Posted by halkum (Post 2066527)
This is beyond awesome Bird:)

Been trying to make an add-on but having no luck.

Is there a way to prefix the forum ID's?
i.e. say forumid 7 is Gaming, foruid 8 is Offtopic. Both show in the forum but no separation. Would there be a way to auto-add prefixing of 'gaming' and 'offtopic' respectively to the threads based on the forum they came from?

My Forum's 4.0.4PL1

You can look in the 3.8.x version thread here:https://vborg.vbsupport.ru/showthread.php?t=245414
I have a way for prefixing threads from other forums, on my forum I actually use a mini-version of each forum's status icon so it's definitely possible, unfortunately 4.0.x doesn't use the same variable names in the templates so the code doesn't work on vb4 and I don't have regular access to a 4.0 forum to play around with it, I'm on 3.8. I've got a question open in the vb4 programming section if anyone knows the 'new' ways to access those variables I'll post the code here but so far no answers,

Basically if someone could translate this to vb4 we'd be in business:
Code:

<if condition="($foruminfo[forumid] == 1) AND ($thread[forumid] != 1)">[X]</if>
Quote:

Originally Posted by halkum (Post 2066535)
One other thing I noticed, any idea why the Thread/Replies count on the main forum.php page doesn't update to show how many threads are inside? Or the latest thread? -- I tried rebuilding the threads, and forums counts but neither worked.

Forum's 4.0.4Pl1

Yeah this is because the 'real' thread is still in whatever forum it originated in so the statistics don't update- this way the same thread doesn't get counted twice. I imagine similar file edits could be the code where it tallies the number of posts and last post but again I'm sorry I don't have a working 4.0.x forum to play with, I just had temporary access to make sure the original code worked before I posted here.

halkum 07-08-2010 10:04 PM

That's great. Not a problem, figured I'd ask! Thanks for the response. I'll check with a developer on how to translate that to vb4+ if he knows. :)

Also 'Marked as Installed'.

TurkYasam 07-23-2010 10:15 PM

This is exactly what I want and need.. Thank you sooooooo much man.. :)
I hope we can have a admin panel controling thing for future instead of manuel editing..Whoever is going to develop this with few more extra feature, $50 bucks
I can donate..If noone has donate other than me another $50 bucks I can give..

Again, thank you sooo much BirdOPrey5..


All times are GMT. The time now is 09:30 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
  • Page Generation 0.01330 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete