PDA

View Full Version : Prefix in New Thread - How can I do this?


ColorsDeluxe
07-09-2009, 08:22 AM
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 1247219740 at 1247219740 ---------------

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?

James Birkett
07-14-2009, 05:44 PM
If it's relating to the vBSEO Modification, try posting over at their site or on the vBulletin Modifications page.