Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2006, 07:14 PM
Adult SEO's Avatar
Adult SEO Adult SEO is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom Forum Titles

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
Reply With Quote
  #2  
Old 11-13-2006, 10:28 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #3  
Old 11-14-2006, 04:41 AM
Adult SEO's Avatar
Adult SEO Adult SEO is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
  1. Create a new product
  2. Add a plugin for your product on forumadmin_edit_form
  3. Add the folowing code:
    • PHP 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']); 
  4. 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.
  5. Edit your forum display template and replace the title content with
    PHP Code:
    <if condition="$custom_forum_title">$custom_forum_title</if><else>...ORIGINAL TITLE CONTENT</else> (not sure if the else is used rightofcourse it's usable but I'm not sure how to use it
  6. Edit the post display template and replace the title content with
    PHP Code:
    <if condition="$custom_post_extension">$custom_post_extension</if><else>...ORIGINAL TITLE CONTENT</else> (not sure if the else is used rightofcourse it's usable but I'm not sure how to use it
  7. Write a install script wich will add the folowing fields to the PREFIXforum table:
    1. custom_forum_title
    2. custom_post_extension_title
Done.

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
Reply With Quote
  #4  
Old 11-14-2006, 04:43 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wait, did you just request a mod, then fill it yourself?
Reply With Quote
  #5  
Old 11-14-2006, 05:35 PM
Adult SEO's Avatar
Adult SEO Adult SEO is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 10-22-2009, 08:41 AM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about this feature ?
Reply With Quote
  #7  
Old 10-23-2009, 09:45 PM
static-skillz static-skillz is offline
 
Join Date: Mar 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06215 seconds
  • Memory Usage 2,233KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete