PDA

View Full Version : Custom Forum Titles


Adult SEO
11-13-2006, 07:14 PM
Hi!

It might already be there, wich is the reason I post this request. I am looking for a simple mod to be able to configure custom forum titles.

Does this exist already?

Best Regards,
Jan Jaap

SaN-DeeP
11-13-2006, 10:28 PM
I am looking for a simple mod to be able to configure custom forum titles.
Can you be more specific ? Feature you are requesting is available in stock code for custom titles can be acheived using Conditionals.

Adult SEO
11-14-2006, 04:41 AM
Hi!

Is it already possible to configure a title per forum? Or do you mean a title for all forums together ?

I want to be able to provide forum 1 with title "XXX Forum - The forum for vBulletin experts" and forum 2 with the title "YYY Forum - The forum for vBSEO experts" etc.

Herby some code to be able to do it within 10 minutes:


Create a new product
Add a plugin for your product on forumadmin_edit_form
Add the folowing code:
print_input_row($vbphrase['custom_forum_title'], 'forum[custom_forum_title]', $forum['custom_forum_title'])print_input_row($vbphrase['custom_post_extension_title'], 'forum[custom_post_extension_title]', $forum['custom_post_extension_title']);
Add a plugin for your product on global_start
Have this plugin check if a custom title is available, if so put the custom title in $custom_title otherwise set $custom_title to 0. Also check if a custom post title extension is available, if so put it in $custom_post_extension otherwise set $custom_post_extension to 0.
Edit your forum display template and replace the title content with <if condition="$custom_forum_title">$custom_forum_title</if><else>...ORIGINAL TITLE CONTENT</else> (not sure if the else is used right, ofcourse it's usable but I'm not sure how to use it)
Edit the post display template and replace the title content with <if condition="$custom_post_extension">$custom_post_extension</if><else>...ORIGINAL TITLE CONTENT</else> (not sure if the else is used right, ofcourse it's usable but I'm not sure how to use it)
Write a install script wich will add the folowing fields to the PREFIXforum table:
custom_forum_title
custom_post_extension_titleDone.

Why is this usable? Because your site will be indexed a lot better in the search engines if you use good non standard titles.

Why don't I do it? Because I bought vBSEO and it has a feature to do the same. (edit, it might has this feature so I might write the mod myself today)

Best Regards,
Jan Jaap

fly
11-14-2006, 04:43 PM
Wait, did you just request a mod, then fill it yourself?

Adult SEO
11-14-2006, 05:35 PM
Well, I needed it but why build it if it's already done.

And I thought vBSEO would have a custom title feature wich it doesn't, so I will develop this mod soon.

Best Regards,
Jan Jaap

thompson
10-22-2009, 08:41 AM
what about this feature ?

static-skillz
10-23-2009, 09:45 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=165538" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=165538</a>

I think thats what you're looking for.