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
Issue with edit for admin and moderators
Avatar
bjj scout
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2014 - 9:54 am

simplepress-error.PNGImage Enlarger

 

When viewing a member post while logged in, there's buttons for editing, deleting and tools pane.

 

As shown in the screenshot below: the tools icon doesn't highlight from the post view but does on the group view. 

Also hitting the edit button opens a new tab instead of editing the post. 

 

Finally, I would like to add a Google custom search bar below the "advance search" in the forum header.

 

Thanks

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2014 - 10:12 am

Hey,

Sorry can you elaborate on what you mean by 'doesn't highlight', do you mean you can't click it? It does look like it's sitting behind text, but that could be due to the width of the forum as it looks quite narrow, and could also be due to a z-index problem inherited from the WP theme.

Have you got a link to your forum? It's possible if buttons are behaving strangely that there is a conflict going on of some type. If you know how to use the console, are you getting any errors?

As for the Google search, I'm not sure what methods there are of adding the search to your forum. Do Google provide the search in a widget? Do they have a line of code for you to add? Would need to know more on that one I'm afraid.

Avatar
bjj scout
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2014 - 1:24 am

Yes, what I meant is that the icon isn't clickable.

Google provides a javascript code similar to that of adsense.

 

Also hitting the edit button opens a new window instead of editing the thread or post. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 23, 2014 - 3:33 am

Probably a javascript conflict with something else you have active. If you know how to use the browser console then you can look for any errors and report them back here so we can discuss. Or - we don't mind taking a look if you can give us a link to your forum page and as long as guests can see the forums...

andy-signature.png
YELLOW
SWORDFISH
Avatar
bjj scout
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2014 - 6:14 am

donw-here.PNGImage Enlarger

 Then about how to add Google custom search box at the highlighted area.

I mean https://www.google.com/cse

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 23, 2014 - 9:44 am

Did you find the culprit?

As to your google search... Simple:Press is template driven, just like WordPress, so it is easy to change and move template display functions about.

In this case you would need to look at the spHead.php display template which can be found n the /templates folder of the Simple:Press theme you are using. If you find the call to the search form which probably looks something like:

sp_SearchForm($searchForm);

then you can put your own code after that to display something below it. Needs to be proper PHP code or HTML if you break out of the php block.

As always we recommend that you create your own SP child theme or custom theme so that any customisation is not lost during a future update.

andy-signature.png
YELLOW
SWORDFISH
Avatar
bjj scout
Member
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2015 - 5:12 pm

Hello sir,

I got the search button to work but having problem making all links by a post member group appear as text link instead of hyperlink. 

Is there any way to make all links appear as text link instead of hyperlink?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2015 - 6:14 pm

there really isnt a way to disable that...  you can probably use a filter to keep it from happening... are you familiar with using wp filters?  can guide you through it...  are you using a custom theme?

Avatar
bjj scout
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2015 - 12:37 am

I'm using a custom theme and won't mind if all new link goes as text link instead of hyperlink.

The old links shouldn't be affected though

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 5, 2015 - 5:36 am

I have to be honest and say I am noit totally sure what you are asking for here...

'text link instead of hyperlink' suggests that you just don't want links to have any special styling - i.e., like an underscore. Is that what you mean? Can you elaborate...?

andy-signature.png
YELLOW
SWORDFISH
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