Page 1 of 1

feature suggestion: anchors

Posted: 02 May 2010, 10:52
by UArchitect
the ability to create anchors so that you can create a link to jump to a certain point on a page

for those who dont know (just in case) in html an anchor looks like this:

Code: Select all

<a name="anchorname">


you access an anchor by going to someurl#anchorname
currently on usp anchors are used for jumping to specific posts or for jumping to the top of the page
anchors could be implemented in many different ways, maybe the bbcode could look something like this

Code: Select all

[anchor]anchorname[/anchor]
or
[anchor=anchorname]

then access it using the standard url link

Code: Select all

[url=#anchorname]go to anchorname[/url]


this would be useful for threads that use an index style format which point to large blocks of text, exu2 thread as an example

currently the only way to create anything like an anchor for such a post is to make several replies and "reserving" those post numbers so you can use an anchor link to jump to those posts
doing that looks messy however
good if you know exactly how many posts you need to reserve, not good if you need to anchor more content


anyway thats it :P i dont really have an issue using the "ghetto method" it works, but just thought i would mention it

Posted: 02 May 2010, 11:09
by Hellscrag
Hi UA. I'll have to leave that for the new management to think about; to me, it sounds like a lot of hassle setting up, for comparatively little gain. Upgrading the forums should probably take place before installing additional hacks, anyway.

Anchors are already used on parts of the main site.

Posted: 02 May 2010, 11:20
by UArchitect
Hello Scrag! :>
thanks for the reply

Posted: 02 May 2010, 11:42
by ividyon
http://www.phpbb.com/community/viewtopi ... &p=7216175
This seems like it could be applied in a matter of seconds. I wouldn't mind doing that once we've moved to phpBB3. :)

Re: feature suggestion: anchors

Posted: 23 May 2010, 22:40
by ividyon
Done and done. It is now part of the various new BBCodes available. :shy:

Re: feature suggestion: anchors

Posted: 23 May 2010, 22:52
by UArchitect
thanks

Re: feature suggestion: anchors

Posted: 26 May 2010, 04:53
by zYnthetic
It's been functional on phpbb for a while but never easy to actually use.
To do it you needed to get the postID from the post you wanted to act as the target by looking at the url from a quote or edit.

To link directly to this...
UArchitect wrote:thanks

...instead of just making a quote:

Your browser's status bar should show a url when you hover over Image
We're looking for the postID (p=###), which is

Code: Select all

32576

The basic url format for phpbb tells what forum (f=) and what topic (t=) to load. These are strung together (by '&') to make a url. For our quote, this is the url of the thread it is in.

Code: Select all

http://www.unrealsp.org/forums/viewtopic.php?f=1&t=1514

To make a target to this quote, add an operator for a new string ('&'), post operator (p=), then the postID, and then target operator ('#') followed by the postID again...

Code: Select all

&p=32576#p32576

...to the end of the url

Code: Select all

http://www.unrealsp.org/forums/viewtopic.php?f=1&t=1514&p=32576#p32576

and it looks like this

Basically this is what already happens when you make a new post so the functionality has always been there. It's just strange that its never been a feature of the basic install.

- - - - -

Now this might be really useful if we could integrate anchors automatically into quotes that originate from this forum.
and doing this

Code: Select all

[quote="UArchitect"]thanks[/quote]

would then end up looking something like this

Code: Select all

[quote="UArchitect";32576]thanks[/quote]

and resulted in something like this

UArchitect wrote:
thanks

Re: feature suggestion: anchors

Posted: 28 May 2010, 00:57
by redeye
Not sure this is the right place to post, but a few things.

up top this should be bigger, brighter.
and put up to top line where logoff is at now.

"Board index » UnrealSP.Org" » Site Speak


The user names are also too small or blend in too much, the "offline" icon is bigger than the user name and I think the name should go in that spot.

just a thought, no real problem, just kinda hard or confusing to scan the page with your eyes to see certain things fast.

Re: feature suggestion: anchors

Posted: 28 May 2010, 01:32
by Buff Skeleton
redeye wrote:Not sure this is the right place to post, but a few things.

up top this should be bigger, brighter.
and put up to top line where logoff is at now.

"Board index » UnrealSP.Org" » Site Speak


The user names are also too small or blend in too much, the "offline" icon is bigger than the user name and I think the name should go in that spot.

just a thought, no real problem, just kinda hard or confusing to scan the page with your eyes to see certain things fast.

Agreed. I think these should be simple tweaks to make, right? Something the theme can handle, or at least the CSS files?

Everything looks good, but as it is now, it looks like the old forum zoomed out by 10%.

Re: feature suggestion: anchors

Posted: 28 May 2010, 13:56
by ividyon
  • Increased font size of breadcrumbs and username
  • Removed "offline" indicator in post profiles
  • Moved "online" indicator below avatar
I'm not particularly keen on moving the breadcrumbs, sorry.

And Waff, I believe the forum layout is actually bigger than before. You can compare it with the dummy database copy I installed here - I like to think that I matched most of the font sizes exactly!

Re: feature suggestion: anchors

Posted: 28 May 2010, 14:56
by Buff Skeleton
Nice work, thanks!

And yeah I mean the normal font sizes are ok, but the way the usernames and breadcrumbs shrunk kinda threw me off a bit :I

Re: feature suggestion: anchors

Posted: 28 May 2010, 18:39
by redeye
breadcrumbs WTF ???????????

anyway, YES !! lookin good. :tup: :tup:

Re: feature suggestion: anchors

Posted: 28 May 2010, 20:19
by salsaSkaarj
redeye wrote:breadcrumbs WTF ???????????


Just above feature suggestion: anchors
Board index » UnrealSP.Org » Site Speak

Breadcrumbs are a feature in which each part of the address of the forum (in this case the forum = Site Speak, which is a subforum of UnrealSP.Org, which in turn is a subforum of Board Index) is clickable and will direct immediately to the level selected (try clicking on a part of the path).

edit : for a better explanation check the Wikipedia page: http://en.wikipedia.org/wiki/Breadcrumb_(navigation)

Re: feature suggestion: anchors

Posted: 17 Jul 2010, 07:54
by redeye
Not sure if it's a browser thing, but ever since the takeover my white-er Icons stay bright.

After I "read", , mabye scrag had the highlite for thread contents only.

To not show unclicked, until you enter that thread a second time. (thread main topic brightness)
once clicked twice shy, lol