Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
CSS Only Theme - Customization question
Avatar
tobbe
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 2:32 pm

1. I would like to move the subscribed function/button from it's original position to the left
of the add reply buttons.

2. I would like to remove the function bar afterwards as I have other means to get to the profile
and login out. I would like to remove "redundant" functions buttons & gravatar image) to clean
the overall site design up.

css_theme_custom2.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 2:37 pm

this is all about theme template files... so you will need to open up the appropriate template file and move the template tags (ie function calls) around where you want them...  or delete them if you dont want them...

most of the template tags are pretty obvious, but holler if you dont understand...  these template files function just like a wp theme template file...

the thing you called the function bar will be in the spHead.php template file...  thats where the profile, subscribe, etc button are...

the add topic and add reply button are specific to views (while spHead.php is all views)...  spForumView.php will have add topic button template tag in it...  spTopicView.php will have the add topic and add reply buttons...

so you just need to familiarize yourself with the template files and do what you want with any template tags or simple php or html code...

again, holler if you have any questions...

Avatar
tobbe
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 3:05 pm

I figured it would make sense to take the css only theme and turn it into a new theme
with the name css-one-modified. However I can't seem to get the new theme to
register in simple press.

I want to do this in order to not "screw" up the original css-only theme and if there
is an update the the css-only theme my modification won't get lost if I update the css-only theme.

Coding isn't one of my strengths so I'll do my best to fix this. Any and all help is greatly
appreciated.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 3:12 pm

yes, absolutely what you want to do - create your own theme... have you read the codex page on this topic:  http://codex.simple-press.com/.....g-a-theme/

have a read and come on back if still having issues...

Avatar
tobbe
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 3:48 pm

Thanks, I managed to make this load up as a new theme now and I fixed
the SP head. I also wonder how I can do the following:

I run wishlist member with the Wishlist ID Card plugin.
I would like to have the "edit profile" goto the simple press
profile instead of the wordpress profiles page.'

 

Is there a specific url to the simple press profiles page
or how would that work?

 

id-card-to-sp-profile.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 3:53 pm

we run wishlist here, but afraid I dont know what the ID card plugin is...

you can get to anyone's sp profile (assuming you have permission) with the link of the form:

http://yoursite.com/forum/profile/display-name/

forum of course would be your wp page slug of the forum page...

display name is the display name of the user you want to see the profile of... be sure to urlencode() the display name to handle spaces and other characters (ie yellow swordfish would become Yellow+Swordfish)...  on any wp page, you can get that with:

global $current_user;

echo $current_user->display_name

of course the echo is not really what you want...  just for reference...

Avatar
tobbe
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 4:06 pm

the idea is for the member who just logged into his or her own account would use that
link to get to his or her personal profile.

not sure what you mean with urlencode?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 4:09 pm

if you want if for current user, just lop off the stuff at end...

http://yoursite.com/forum/profile/

will go to the profile of current logged in user...

Avatar
tobbe
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 4:14 pm

hmm I'm just getting "forum not found" error message when trying

http://medlem.tranahemma.nu/fo.....m/profile/

&

http://medlem.tranahemma.nu/forum/admin/

 

etc

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 4:23 pm

well, obviously I cannot look since its protected... wink

is 'forum' the right slug? I dont know what you called the wp page for your forum...

so when in your forum, click on the profile button for yourself... what url does it go to?  that url should work for any logged in user...

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625