vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Prefix in New Thread - How can I do this? (https://vborg.vbsupport.ru/showthread.php?t=218212)

ColorsDeluxe 07-09-2009 08:22 AM

Prefix in New Thread - How can I do this?
 
I'm developing a vb forum, and want to add a feature.
When I create a thread, I want to add a Prefix for the thread.

You can see a demo here :

http://images.blue-deluxe.com/upload/screenshot.png

Think on domain forums, like in the screenshot, when somebody write his domain as a thread name, he could choose from that dropdown, the extension .com, .net, etc.


Later Edit :

Also, how I can make the links, SEO friendly?
forumdisplay.php?f=107 - this thing to appear as the thread name, or something similar.
How can I do this?

Thanks.

Ronald0 07-09-2009 08:40 AM

Yeah he can, but i believe you mis worded your statement. When he types a bbcode link meaning.

www.vbulletin.org

then the prefix automatically changes to .org

Correct?

ColorsDeluxe 07-09-2009 11:43 AM

I'm not talking about the bbcodes here, or the post in thread, I'm talking about the name.
For example, in an auction section, or sale section, when the member add a new thread, they can put " vbulletin " as a thread name, and to choose .org from the drop menu.

Davidx3 07-09-2009 01:37 PM

Im not so sure it will change automaticlly, but the best way i could think of this is to have a seperate forum and make your users select a prefix.

i dont think its possible, corrent me if im wrong?

ColorsDeluxe 07-09-2009 01:52 PM

Please view the screenshot. It's not about the users name, it's about the thread name.

I want to start a thread, ok? Well, I insert the name vbulletin, and I choose the .org from that prefix, it must be a dropdown, to have different extensions : .com ; .org ; .net and so on ...

--------------- Added [DATE]1247219740[/DATE] at [TIME]1247219740[/TIME] ---------------

Can anyone help me? Please.

ColorsDeluxe 07-12-2009 08:40 AM

Is anyone there that could help me please?

James Birkett 07-12-2009 11:54 AM

Create a prefix set and then enable it for your 'auction' forum. However that would look like:
[.org] vBulletin
Is this what you're after?
AdminCP => Thread Prefixes => Add new prefix set.
Hope this is what you're after.

ColorsDeluxe 07-12-2009 04:40 PM

Ok. This could help. Could we make a drop down for that prefix? or is only one?

And how I do the thing with the link, to be seo friendly? Thread name as a link?

James Birkett 07-12-2009 05:41 PM

This seems unnecessary as you could just ask them to put a URL extension (.com, .org etc).
To add more than 1 prefix to the set:
Prefix set ID: to make sure the set is unique. Can hold any value (click ? for help)
Title: URL extension (or something?)
Display order: Self-explanatory, click ? for help.
Use prefix set in these forums: Select the forum you want (hold ctrl and click if you want more than 1 forum).
Once you've done that, go to Thread Prefix Manager, then click 'Add Prefix' (on the right).
Fill in the fields, for help click the ?.
Be sure to make sure your related forum is set to 'Require threads to have a prefix' for this to be 100% effective.
As for SEO friendly, I'm not sure.

ColorsDeluxe 07-14-2009 04:59 PM

Thanks for your help James. This is exactly what I wanted to do.

But I still need to know how to make the links, seo friendly. Does anyone know?


All times are GMT. The time now is 08:39 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.01213 seconds
  • Memory Usage 1,729KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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