Please Register to get full access to the forums.
 |
07-31-2006, 10:49 PM
|
#1 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| [New Thread] - [Search] - [Subscribe] - [RSS] [New Thread] - [Search] - [Subscribe] - [RSS]
if you like what we've added at vBulletin Setup and want it on your site here is your code..
Here's the code I use in forumbit level 1 and 2: Code: <if condition="$forum[link] == ''">
<span class="tinyfont">
- [<a href="/forums/newthread.php?do=newthread&f=$forum[forumid]" title="Post a new thread in $forum[title]">New Thread</a>] - [<a href="/forums/search.php?forumid=$forum[forumid]" title="Search $forum[title]">Search</a>] - [<a href="/forums/subscription.php?do=addsubscription&f=$forum[forumid]" title="Subscribe to $forum[title]">Subscribe</a>] - [<a href="/forums/external.php?type=rss2&forumids=$forum[forumid]" target="_blank" title="RSS feed for $forum[title]">RSS</a>]
</span>
</if>
this assumes your vb is in a forums/ folder..
and like on our site, the forum home view don't allow new threads, so it was all useless and we just needed it on the forumdisplay page.. this is how to achieve that.. Code: <if condition="THIS_SCRIPT == 'index'">
main forums page code
</if>
<if condition="THIS_SCRIPT == 'forumdisplay'">
forumsdisplay page code
</if>
and add this to your Additional CSS Definitions to make them small like on here Code: .tinyfont { font-size: 9px;}
I seen this on Keith Cohen's site and he was kind enough to tell me how he did it |
| |
08-14-2006, 07:05 PM
|
#2 | | vBulletin Owner
Join Date: Aug 2006 Location: London, UK
Posts: 10
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Cheers for this I've been looking for how to do it for ages, I knew it would be quite simple and I could probably have figured it out myself but I didn't have the time...
Anyways I had to tweak the code a little by just removing the /forums part Code: <if condition="$forum[link] == ''">
<span class="tinyfont">
- [<a href="/newthread.php?do=newthread&f=$forum[forumid]" title="Post a new thread in $forum[title]">New Thread</a>] - [<a href="/search.php?forumid=$forum[forumid]" title="Search $forum[title]">Search</a>] - [<a href="/subscription.php?do=addsubscription&f=$forum[forumid]" title="Subscribe to $forum[title]">Subscribe</a>] - [<a href="/external.php?type=rss2&forumids=$forum[forumid]" target="_blank" title="RSS feed for $forum[title]">RSS</a>]
</span>
</if>
:P |
| |
08-14-2006, 07:09 PM
|
#3 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Glad it helped
ya, I had to tweak it a bit for this site too
btw, you should post your site in the sig, We like to see what everyone is doing, maybe you'll have something I like and I'll ask you how you did it |
| |
09-12-2006, 10:09 PM
|
#4 | | vBulletin Owner
Join Date: Sep 2006
Posts: 89
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Hi, could you tell me where in the template I need to implement the code? Thank you |
| |
09-12-2006, 10:11 PM
|
#5 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Quote:
Originally Posted by soultrader Hi, could you tell me where in the template I need to implement the code? Thank you | Hello,
it's posted in the first post. |
| |
09-12-2006, 10:45 PM
|
#6 | | vBulletin Owner
Join Date: Sep 2006
Posts: 89
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Hi, I understand this is in the forumbit level 1 and 2 templates.... but where do i need to add this inside the template?
by the way,.. you have a great site here. |
| |
09-12-2006, 11:02 PM
|
#7 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] glad you like it..
I added it b4 the description variable in the past
I can get the exact line if you don't see |
| |
09-13-2006, 06:32 AM
|
#8 | | vBulletin Owner
Join Date: Sep 2006
Posts: 89
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Yes I would appreciate if you can get the exact line. I am horrible at coding so I dont quite understand wheere I need to place it. |
| |
09-13-2006, 11:36 AM
|
#9 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Quote:
Originally Posted by soultrader Yes I would appreciate if you can get the exact line. I am horrible at coding so I dont quite understand wheere I need to place it. | I'll add it for you while we try and get the columns hack to work on your site |
| |
10-01-2006, 05:56 AM
|
#10 | | entrepreneur
Join Date: Oct 2006
Posts: 1
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] i will go and try this one |
| |
10-24-2006, 02:31 PM
|
#11 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Quote:
Originally Posted by Brandon I'll add it for you while we try and get the columns hack to work on your site  | oops, I missed this,, do you still need help ?
there is a hack at vbulletin.org [New Posts | New Thread | Search] on Index page - vBulletin.org Forum |
| |
11-06-2006, 07:01 PM
|
#12 | | entrepreneur
Join Date: Nov 2006 Location: Errachidia-Morocco
Posts: 28
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] great, i do it, it's good tnku man |
| |
12-31-2006, 11:11 PM
|
#13 | | entrepreneur
Join Date: Dec 2006
Posts: 13
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] *Feels stupid*
What, exactly, does this snippet do? Am I missing something? |
| |
01-01-2007, 12:20 PM
|
#14 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] it just adds some links on the forum home pages
that will have links to post - new threads, to search that forum, to subscript to the forum, and rss of the forum.
there is another version released at vb.org that is a little nicer I think. |
| |
01-02-2007, 03:19 PM
|
#15 | | vBulletin Owner
Join Date: Jan 2007 Location: SLC, Utah
Posts: 22
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Cool stuff!
I have had [subscribe] [new post] & [search] on my forums for 5 years now. I just added a small RSS icon in front of the forum titles with the help of this thread. Thanks |
| |
01-02-2007, 09:17 PM
|
#16 | | vBulletin Owner vBSetup Owner
Join Date: Jul 2006 Location: Topeka, KS
Posts: 12,639
| Re: [New Thread] - [Search] - [Subscribe] - [RSS] Quote:
Originally Posted by BikeForums Cool stuff!
I have had [subscribe] [new post] & [search] on my forums for 5 years now. I just added a small RSS icon in front of the forum titles with the help of this thread. Thanks  | your welcome..
*ps, thanks button :2bounce: *
it's always good to give and receive "thanks" |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -6. The time now is 01:24 PM. |