The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
it is possible to create an bbcode for anchor in vB 4? In vB 3 I create an bbcode like this: HTML Code:
<a href="#{option}">{param}</a> Any ideas? Hacks/Mods? |
#2
|
|||
|
|||
![]()
I try to create anchors as well, but it doesn't work. When clicking on the anchor link I get redirected to the starting page of CMS, but not the anchor point within the post.
I created custom BB Codes as follows already, but it doesn't work: Title: Anchor link Tag: jumpto Replacement: <a href="#{option}">{param}</a> Example: [jumpto=aname]This takes you to a new location within a post[/jumpto] Description: The [jumpto] tag allows you to jump to another location within a post, usually used for long posts with headings and/or sections of interest. This tag <b>must</b> be used in conjunction with the [aname] tag. One is not functional without the other. Use {option}: Yes Click Save Title: Named anchor link Tag: aname Replacement: <a name="{option}">{param}</a> Example: [aname=aname]This is where you jump to[/aname] Description: The [aname] tag is used in conjunction with the <a href="#jumpto">[jumpto]</a> tag. One is not functional without the other. Use {option}: Yes Click Save Any help would be highly appreciated. Thank you |
#3
|
|||
|
|||
![]()
Did anyone find a solution to this problem?
|
#4
|
||||
|
||||
![]() Quote:
But like I said, you need an anchor to link to. You would need BBCode that creates the actual anchor name you want to link to, not the other way around. Code:
<a name="{option}">{param}</a> Code:
[ANCHOR="tips"]Useful Tips[/ANCHOR] Code:
http://www.yoursite.com/showthread.php?t=threadid123456#tips Quote:
|
#5
|
|||
|
|||
![]() Quote:
I'm using 4.01 PL2 vbulletin, and the problem in using url bbcode referring to an anchor is that the resulting hyperlink in href is something similar to http:///#<anchor-name> that's obviously doesn't work. Instead, creating an alternative bbcode, which doesn't add "https://", the problem is that browser will redirect to site home page. |
#6
|
||||
|
||||
![]() Quote:
|
#7
|
|||
|
|||
![]() Quote:
This suggests that I've to post the article, catch the url and then edit it adding the correct reference. Not so friendly... Instead, I've already the anchor bbcode which place anchor target, but as I said if I use the normal url bbcode with #<anchor-name> as target, engine adds http:// Anyway, thank you ![]() |
#8
|
||||
|
||||
![]()
Sorry, I thought you were the OP.
So your saying, you're trying to put anchors in posts that you haven't posted yet? I presume you're only trying to link to anchors on the same page, because without the full URL, that's all you'd ever be able to do. I've can't a BBCode like that to work, but for different reasons. The one being that it always tries to use my forum URL, rather than the thread I'm on. That's normally the way it should work, though. |
#9
|
|||
|
|||
![]() Quote:
People in our staff who write CMS articles need to use anchor in the same text, in order to refer to different part of the text. I can say them to save the article, catch the url and edit it again putting the correct reference, but I'm figuring out if there was a more friendly mechanism. However, even if without "http://" in front of anchor name, browser redirect on site home page and I don't understand why.... |
#10
|
|||
|
|||
![]()
Fix for VB 4 is here in the original thread https://vborg.vbsupport.ru/showpost....14&postcount=3
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|