Did you know? All of these messages will likely be replaced before release.

feature suggestion: anchors

For discussion about UnrealSP.org itself.

Moderators: Semfry, ividyon

User avatar UArchitect
Skaarj Lord Skaarj Lord
Posts: 182
Joined: 18 Nov 2007, 21:22

Subject: feature suggestion: anchors

Post Posted: 02 May 2010, 10:52

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

User avatar Hellscrag
Founder Founder
Posts: 4007
Joined: 11 Nov 2007, 19:14
Location: In a random access memory of dreams

Subject:

Post Posted: 02 May 2010, 11:09

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.
Image
Life is what you make of it.

User avatar UArchitect
Skaarj Lord Skaarj Lord
Posts: 182
Joined: 18 Nov 2007, 21:22

Subject:

Post Posted: 02 May 2010, 11:20

Hello Scrag! :>
thanks for the reply

User avatar ividyon
Administrator Administrator
Posts: 2354
Joined: 12 Nov 2007, 14:43
Location: Germany
Contact:

Subject:

Post Posted: 02 May 2010, 11:42

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. :)

User avatar ividyon
Administrator Administrator
Posts: 2354
Joined: 12 Nov 2007, 14:43
Location: Germany
Contact:

Subject: Re: feature suggestion: anchors

Post Posted: 23 May 2010, 22:40

Done and done. It is now part of the various new BBCodes available. :shy:
UnrealSP.org webmaster & administrator

User avatar UArchitect
Skaarj Lord Skaarj Lord
Posts: 182
Joined: 18 Nov 2007, 21:22

Subject: Re: feature suggestion: anchors

Post Posted: 23 May 2010, 22:52

thanks

User avatar zYnthetic
Skaarj Warlord Skaarj Warlord
Posts: 510
Joined: 12 Nov 2007, 00:10

Subject: Re: feature suggestion: anchors

Post Posted: 26 May 2010, 04:53

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
Image

redeye
Banned Banned
Posts: 1393
Joined: 08 Dec 2007, 06:55

Subject: Re: feature suggestion: anchors

Post Posted: 28 May 2010, 00:57

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.
Just ban everyone

User avatar Buff Skeleton
>:E >:E
Posts: 4173
Joined: 15 Dec 2007, 00:46

Subject: Re: feature suggestion: anchors

Post Posted: 28 May 2010, 01:32

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%.
Image

User avatar ividyon
Administrator Administrator
Posts: 2354
Joined: 12 Nov 2007, 14:43
Location: Germany
Contact:

Subject: Re: feature suggestion: anchors

Post Posted: 28 May 2010, 13:56

  • 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!
UnrealSP.org webmaster & administrator

User avatar Buff Skeleton
>:E >:E
Posts: 4173
Joined: 15 Dec 2007, 00:46

Subject: Re: feature suggestion: anchors

Post Posted: 28 May 2010, 14:56

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
Image

redeye
Banned Banned
Posts: 1393
Joined: 08 Dec 2007, 06:55

Subject: Re: feature suggestion: anchors

Post Posted: 28 May 2010, 18:39

breadcrumbs WTF ???????????

anyway, YES !! lookin good. :tup: :tup:
Just ban everyone

User avatar salsaSkaarj
Gilded Claw Gilded Claw
Posts: 1862
Joined: 21 Apr 2009, 21:54
Location: on the prowl

Subject: Re: feature suggestion: anchors

Post Posted: 28 May 2010, 20:19

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)

redeye
Banned Banned
Posts: 1393
Joined: 08 Dec 2007, 06:55

Subject: Re: feature suggestion: anchors

Post Posted: 17 Jul 2010, 07:54

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
Just ban everyone


Who is online

Users browsing this forum: No registered users and 31 guests

Copyright © 2001-2024 UnrealSP.org

Powered by phpBB® Forum Software © phpBB Limited