Support Forum
A previous version of SP had options for "Post Settings", "Topic settings" that easily allowed me to hide a bunch of options that were not relevant to me. I use WP and SP as part of a online teaching setup - where i don't need to show a lot of these options (it is a small group of students and they all know each other). These various options just end up taking up valuable real estate, and I would like to clean stuff up a bit. However, I can't find these options any more. So what are my choices here?
Also, I am using the User Photo plugin and it is working great integrating with SP. However I would like the thumbnails to come out smaller (50x50) in the forum. I have spent a long time but can't figure out what i should be doing.
Any help would be appreciated.
~ punya
First, Simple Press 5 moved to a theme based system rather than thousands of options... So most display elements are now controlled by template functions in your sp theme... That means you can easily add, remove or move around the elements to completely and totally customize your display of Simple Press...
So you just need to edit your various Simple Press Template files (in the template-files folder of your sp theme) that are page view pased... this is very much like WordPress itself...
Now we strongly recommend that you create your own sp theme vs editing one of our provided themes to keep from losing your changes on upgrade... This codex article explains how to create your own theme from one of ours:
http://codex.simple-press.com/.....g-a-theme/
Not sure what user photo plugin is... and where you are showing them... is an avatar replacement? just a guess based on the 50x50 comment... but same answer as above... where ever in the template files you output an avatar (and there are multiple places) you can add an argument to the template function to change the size of the avatar... for example, in the header of each page:
sp_UserAvatar('tagClass=spImg spLeft');
changed to:
sp_UserAvatar('tagClass=spImg spLeft&size=25');
to use 25px avatar instead... 50px is the default...
Visit Cruise Talk Central and Mr Papa's World
I thought I had sent a reply but I guess I didn't hit submit. Here we go again
First, I appreciate your prompt response. That said, I am not comfortable getting into the php code. I am an educator who is reasonably tech savvy but I much preferred the previous version that allowed me some control from the interface level - rather than getting into the php code. Just too much scope for screwing up!
Similar issue for the second problem - that of image size. But what the heck... i jumped in and tried to find the instances where sp_UserAvatar showed up and included the size=25, but no change in size of avatar.
Hmmm... ~ punya
Punya Mishra said
I thought I had sent a reply but I guess I didn't hit submit. Here we go againFirst, I appreciate your prompt response. That said, I am not comfortable getting into the php code. I am an educator who is reasonably tech savvy but I much preferred the previous version that allowed me some control from the interface level - rather than getting into the php code. Just too much scope for screwing up!
I guess it's a matter of not being able to please all of the people all of the time
The problem with options is where do you stop? We were continually adding options on user request and they were getting - to be frank - a little out of hand. At the same time the scope for our users to customise their forum display was getting slimmer and slimmer. V5 was a complete rewrite that takes its format from standard WP themes which allows for limitless customisation of the display and allows for all of those options that people always wanted but would not be available via the admin panels. This also results in less code, better performance and basically infinite flexibility.
As we have adhered to the WP theme functional syntax the basics of changing WP theme templates transposes easily to the basics of changing SP templates.
Similar issue for the second problem - that of image size. But what the heck... i jumped in and tried to find the instances where sp_UserAvatar showed up and included the size=25, but no change in size of avatar.
Hmmm... ~ punya
I am not sure why Steve focused on avatars. Is this what you actually mean or did you mean embedded images in posts - which is how I read it? If the latter then I am afraid that 100px is the smallest thumbnail size that SP supports.
YELLOW
SWORDFISH
|
actually, I asked 'if' he meant avatars... if so.... and the user photo thing seemed to imply same...
but was hoping for feedback or example...
Visit Cruise Talk Central and Mr Papa's World
Appreciate the quick responses. I understand the issue of creating options on options. It is just that I am an educator, I love WP and SP - have used them in all my classes in both master's and doctoral levels. I have little if any tech support - so I have to do both the setting up of the website AND the curricular stuff. Not that it matters to you - but just giving you a sense of where I am coming from.
As for the photos: I meant the little photos that show up by your name when you post to the forum. I am including an screenshot. I would like these photos to be 25px by 25px. thanks ~ punya
Ah - Mr papa was right - you DID mean the avatars.
For the posts you need to look at the sfTopicView.php template. You can use the SP theme editor for this.
Locate the call that displays the avatar and by default it probably looks like this:
sp_UserAvatar('tagClass=spPostUserAvatar spCenter&context=user', $spThisPostUser);
You need to simply add a size argument like so:
sp_UserAvatar('tagClass=spPostUserAvatar spCenter&context=user&size=25', $spThisPostUser);
Note the ampersand before the size name.
YELLOW
SWORDFISH
|
1 Guest(s)