PDA

View Full Version : Custom sub-forum layouts?


masterross
06-13-2014, 06:44 PM
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
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 Services (https://vborg.vbsupport.ru/forumdisplay.php?f=30)s, 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!