vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Custom sub-forum layouts? (https://vborg.vbsupport.ru/showthread.php?t=312132)

masterross 06-13-2014 06:44 PM

Custom sub-forum layouts?
 
Hi guy,

Is there any mod that will allow me to add custom info in sub-forums like in xda?
For example here is specify info for Note 3 and forum sections:
http://forum.xda-developers.com/galaxy-note-3

and here is info and section of S4:
http://forum.xda-developers.com/galaxy-s4

Thanks in advance!

Dave 06-13-2014 07:38 PM

I'm not aware of such mod, but it shouldn't be too hard for someone to make this.
Basically just query the database with the forumid to retrieve the custom information, then register a template variable and print it in the right forumdisplay template.

tbworld 06-14-2014 05:15 AM

You are not going to find a MOD for something like this, but like @Dave said this is not a difficult task to for a programmer to work up a structure for you. The price could be reasonable if you are populating the data.

masterross 06-17-2014 09:21 AM

Thx mates,

I know that isnt so hard to write, but my skills are not so good and will take much from my free time.

So please send me offers on PM please.

Regards,
Ross

tbworld 06-17-2014 09:26 AM

Quote:

Originally Posted by masterross (Post 2502285)
Thx mates,

I know that isnt so hard to write, but my skills are not so good and will take much from my free time.

So please send me offers on PM please.

Regards,
Ross

Please post this in the Requests for Paid Servicess, not in a general discussion forum. Thank you. :)

masterross 06-18-2014 10:41 AM

Probably some moderator could move the thread, so not to make duplicate one?

cellarius 06-19-2014 06:14 AM

Couldn't this be done without an addon at all?

2 possibilities:

- Either use a child style of your style for each forum, just change FORUMDISPLAY template accordingly (the child style will inherit everything else from your main style) and set the forum to use the child style.

- Or, and probably even easier, you use notices. Just set the notice to show in the desired forum and add whatever HTML you want.

masterross 06-30-2014 07:14 PM

Hi mate,

I was able to create mod to write/read from the DB.
Now I want to render my template in $template_hook['forumdisplay_above_subforums']

I used hook location forumdisplay_start and parse_templates
But cant render it.
What hook location should I use?

THX!


All times are GMT. The time now is 10:16 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.01016 seconds
  • Memory Usage 1,724KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete