Discovery Gaming Community
Problem with Anchors - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Rules & Requests (https://discoverygc.com/forums/forumdisplay.php?fid=6)
+--- Forum: Site & Forum Feedback (https://discoverygc.com/forums/forumdisplay.php?fid=14)
+--- Thread: Problem with Anchors (/showthread.php?tid=8477)

Pages: 1 2


Problem with Anchors - Mere_Mortal - 06-16-2008

Trouble is I've never seen this ACP, although I am dubious whether anything useful will be in there for this sort of thing. Another problem with IPB is the license, even the theme requires one, which means I can't look at the code.

I have to be honest though, if it's really that much of a problem for anybody hopefully they like one of the other themes. I'll certainly trial them.


Problem with Anchors - Igiss - 06-18-2008

Maybe you could post your e-mail or mail me (igissmail@gmail.com) so that I could send you the templates for a brief review?


Problem with Anchors - Mere_Mortal - 06-18-2008

It's worth a try, but there's no guarantee I'll be able to work it out. I'll message you my Gmail address.


Problem with Anchors - Mere_Mortal - 06-18-2008

You may have already done this, I don't know.

At this line...

Code:
<!--Begin Msg Number {$post['pid']}-->
...then immediately after the next table data block, insert this code...

Code:
<a name="entry{$post['pid']}"></a>
The link should be made and be visible in the HTML output, regardless of whether or not name identifier is correct.


Problem with Anchors - Mere_Mortal - 06-23-2008

Well this is interesting, something is working...

http://discoverygc.com/forums/index.php?sh...mp;gopid=282991

The difference in the link is "pid" versus "gopid", the latter appears to be the correct object. It's strange that I never noticed how the page automatically scrolls after submitting a post. What is more strange is that the fragment identifier is not even in the link, the PHP deals with "gopid" accordingly.

Therefore, all that needs changing is "pid", it should be good after that. The "Show the link to this post" should also be edited to reflect this (here, "p" needs changing to "gopid").

This isn't actually how it is in the other themes, the <a name="entry$pid] is still created,. For whatever reason it doesn't appear in the Deep Blue theme, but with "gopid" it will still scroll, how is beyond me but I won't complain.