Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Where is spForumTop?
Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Dec 26, 2011 - 4:12 pm

Can you tell me where this code might be coming from?

<a id="spForumTop"> </a>

I see a small underline at the top of my group view, caused by that space in the markup. I've looked, but can't find it in any of the templates.

Is it a setting that I can find on the backend?  And what type of functionality is this meant to serve?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 26, 2011 - 4:48 pm

Its put there, as is the spForumBottom anchor by the template control stuff within sp core - not template files...

Its an anchor point for the go to top link that can be output to save on scrolling...  if there is an underline, its because your wp and/or sp theme is underlining links in general...

there is not way, currently at least, to turn them off... if there was, then the template tags for the go to top or go to bottom wouldnt work...  oh, and they have a space in them because IE wont let you anchor to an empty div...

if you want to display them, then just style them with display:none and they will be gone... be sure to remove the other template tags for going to top or bottom then...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 26, 2011 - 5:04 pm

Steve: These anchors have a non-breaking space char in them. I would have thought this was not necessary for an anchor (and have opened a ticket) but I am open to correction...?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Dec 26, 2011 - 5:04 pm

Ok, fair enough.  But when is something output?  It's just a non-breaking space.  I added a bunch of forum posts to see if it was not appearing because everything fit in my viewport, but that wasn't the case.  It always displays just the space.  And I don't see anything at the bottom.

On an unrelated note, on the forum I am setting up, if I add a topic and post it, I am looking at that topic.  If from from the topic view, I click to add a new topic (rather than a new post), it does nothing.  I tried the button at the top and bottom of the forum.  When I'm done, I'll try it here.

Update: your site works fine.  On mine, http://www.wpperform.com/forums/, it doesn't.  Excuse me while I go strangle the guy who is setting up my site...

Update 2: My understanding is improving.  I see an image on the bottom, with a hover effect.  But I don't see this on the top.  At the top, I see this in the source:

<div id="dialogcontainer" style="display:none;"></div>
<noscript><div class="sfregmessage">This forum requires Javascript to be enabled for posting content</div></noscript>
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 26, 2011 - 5:30 pm

unfortunately, the non breaking space is required by our old friend IE which in its infinite wisdom thinks an empty div is totally useless (usually is) and therefore cannot be used as an anchor...  so the go to top and go to bottom links will not work in IE without the space...

there will never be anything in it...  above the main forum content and below it, you will see links to go to top and to bottom... they look like arrows on the right hand side...  they are particularily useful when on a topic view and you want to go back to the top for something else... click on them and you jump back to top or bottom...

think you have some membership or privacy on that forum page link...  I dont see any forum...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Dec 26, 2011 - 7:58 pm

Ok, I see the go to bottom now.  I'll just restyle it.  However, I am seeing the empty div above spMainContainer, and I am seeing the go to bottom 5 or 6 divs lower. 

The link should work.  Still developing things, so it comes and goes as needed, but there's nothing blocking you.  I just checked it and it worked for me.  Let me know what specific error you receive.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 26, 2011 - 11:18 pm

not an error per se... just not content...

wpperform.pngImage Enlarger

the empty div is the anchor link...  one above the forum main container (top) and one below the forum main container (bottom)... its where you would scroll to if you click on go to top or go to bottom, respectively...

the div isnt really empty, it has a space in there... because without the space, IE wont work...  well, wont work if a parent container has overflow: hidden defined for it... spent about an hour or two tonight trying to come up with ways to remove without success... really sucks since its valid html and IE just dorks it up like usual...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Dec 27, 2011 - 12:11 am

Thanks for the explanation.  I hid it with CSS so I am happy.

Odd that you aren't seeing the forum.  Could it be a permission issue?  I was playing around with permissions earlier this evening.  You should see 2 groups and 5 forums.

I also just cleared the W3 TC cache after making a bunch of forum changes.  I guess this could be another issue; that SPF isn't playing nicely with W3 TC?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 27, 2011 - 8:35 am

It shows now.  and yes, w3 total cache cannot cache the forum page... you need to tell it to ignore the forum page on all forms of its caching that you use (multiple locations)...  keep in mind that ALL forum content appears on a single wp page... so caching it doesnt make sense...  we have some internal caching mechanisms but caching the wp page wont work...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 27, 2011 - 8:38 am

oh and btw... too much white space for me! wink

but many others will love it...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626