Support Forum

Customized feature request

29 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

That’s what I suspected but when I looked earlier it was still showing up.

Are you willing to make a small code change in the core? This is, at the moment, more for investigation. If my hunch works then I can supply you with a more permanent and safe change that will be update proof.

So – if you are game the file you need is /simple-press/forum/content/sp-forum-view-functions.php

The function in that file you are needing is sp_TopicIndexName() as you already deduced. It is about two thords of the way down.

If you look at that function, near the bottom are two lines that both start $out = – you want the top one.

Track along the line until you find class=’$tagClass vtip’ and remove the word ‘vtip’ and the preceding space so you end up with class=’$tagClass’ and then save. Try reloading the forum topics to see if this has helped.

Remember to use a plain text editor only.

SM simon martin
simon martin
Member

Yeah, I had a feeling you may have checked, I should have mentioned that I loaded the original back up since it didn’t seem to have an effect. I will give your suggestion a try now.

SM simon martin
simon martin
Member

I made the change to the file and made sure to triple check everything, correct file, line of code, and I deleted exactly what you said, preceding space and all. Unfortunately it didn’t do the trick. I loaded the original file back up with the vtip text added back, just as an fyi moving forward.

 

I really appreciate both of you two taking the time to try and get this to work. If it doesn’t end up working it wouldn’t be the end of the world, but having this function would be a huge feature for my site, so like I said the effort to try and help me here is greatly appreciated.

YS Yellow Swordfish
Yellow Swordfish
Member

I was rather hoping you would leave it cut so I could look at it again….

SM simon martin
simon martin
Member

Ahh, give me one second then. I’ll reply when it’s cut back out.

YS Yellow Swordfish
Yellow Swordfish
Member

Apologies – night-time and bed beckoned!
With that removed I can now see no reason whatsoever why this should not work.

The only thing that comes to mind is that the ‘tag’ is now embedded in a link. Are you aware of any restrictions like this? When used elsewhere have you ever tried with the tag inside a link?

SM simon martin
simon martin
Member

Hey, no worries. When the bed calls, you listen.

Yes, in the forums there are a couple places where the tags also are links back to other topics and the hover feature still works there.

Do you think it could have something to do with the little forum toolset that pops up when you hover in the area of the topic title?

YS Yellow Swordfish
Yellow Swordfish
Member

on the last question then no – that is not attached to the title bit is independent.

I would really like to solve this one as I see nothing wrong or different now (apart from the link aspect) between where it does and does not work.

Is it likely that we could ask the plugin developers for advice and to take a look?

SM simon martin
simon martin
Member

Here is a topic where I have a couple of the tags as links.

http://ichartpennystocks.com/forum/member-watchlists-and-trading-journals/icharts-breakout-watchlist-thread/

Go down to the third post I made and you can see that SBRH and MIKP are both hyperlinks to other topics and the popup works properly.

I will try to post in the plugin’s support forum but I don’t see any responses from the plugin creator so I’m not very optimistic.

YS Yellow Swordfish
Yellow Swordfish
Member

mmmm – looking closer I think it might be falling over on the word ‘TECS’ that appears in the subforum at the top – the name of the post in the right. For some reason this is causing a syntax error in the plugins script even thou8gh – as far as I can see – it shouldn’t even be looking at it.

This might end up being a case of just too may variables at play.

SM simon martin
simon martin
Member

Yellow Swordfish said
 

This might end up being a case of just too may variables at play.

 

Ah well, it was worth a shot. I appreciate you guys taking the time to give it a try.

YS Yellow Swordfish
Yellow Swordfish
Member

I would still like to get the better of this one actually – hate being beaten by it! But I have a feeling it might need code changes to the other plugin…

SM simon martin
simon martin
Member

Well I certainly would love to see this one figured out, but clearly I’m out of my league. If you have any ideas or any suggestions you’d like me to try, let me know.

 

And once again thanks for your time.

MP Mr Papa
Mr Papa
Member

Just heads up, but Andy is gone for couple days as will I after today, so be few days before we get back to this.