Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
a visual Notes and usability
Avatar
yairoli
Member
Free Members
sp_UserOfflineSmall Offline
May 9, 2013 - 4:22 pm

the Text below to files uploader is too long
I want to shorten it to two lines of
1. File types allowed
2. Maximum file size

And decrease the font size

the add Reply Button & And the Add topic button line

Should be larger than other buttons lines

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 9, 2013 - 5:18 pm

if you want to change the uploader info, it has a filter so you can customize how you like... the filter is sph_uploader_info

you can change the font size with css... change font size in: #spMainContainer #sp_uploader_info

same for add topic and add post... just tweak the css to match what you want.... #spPostNewButtonTop, #spPostNewButtonTop, #spPostNewTopicButtonBottom and #spPostNewButtonBottom

Avatar
yairoli
Member
Free Members
sp_UserOfflineSmall Offline
May 10, 2013 - 3:06 pm

can you tell me please the path & the Name of the files? 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 10, 2013 - 4:55 pm

to do what?  use a filter... you will want to add the filter and change it how you want...  something like:

add_filter('sph_uploader_info', 'my_uploader_info');
function my_uploader_info($content) {
 # add your code here to affect the uploader info ouput
 return $out;
}

if you need more help on how standard wp api and hooks work, see: http://codex.wordpress.org/Plugin_API

as to the css, you put it in YOUR sp theme and change accordingly...

Avatar
yairoli
Member
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 4:33 am

Mr Papa said
if you want to change the uploader info, it has a filter so you can customize how you like... the filter is sph_uploader_info

you can change the font size with css... change font size in: #spMainContainer #sp_uploader_info

same for add topic and add post... just tweak the css to match what you want.... #spPostNewButtonTop, #spPostNewButtonTop, #spPostNewTopicButtonBottom and #spPostNewButtonBottom

Mr Papa

Please

When you talk about a file - please specify the file name and path of the file

 

So, On which file you are talking about when you say

"for add topic and add post... just tweak the css to match what you want.... #spPostNewButtonTop, #spPostNewButtonTop, #spPostNewTopicButtonBottom and #spPostNewButtonBottom"

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 11, 2013 - 4:57 am

Custom code, filters etc., are probably best placed in the SP theme's spFunctions.php file (in the /templates folder).

CSS styles for core are in the theme's main CSS file the name of which depends upon what theme you are using.

You can get to both for editing in the SP theme dfitor.

andy-signature.png
YELLOW
SWORDFISH
Avatar
yairoli
Member
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 6:06 am

please Please specify me what to do in spFunctions.php file

Avatar
yairoli
Member
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 6:46 am

1. Which line is it?
2. What should I do there?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 12:38 pm

you keep missing a key point when you ask for a path... we DO NOT know... you set it up on your server and its your sp theme...   and when you ask for a line number, it is going to be specific to the theme you are using and most certainly not universal...

but themes are organized in common manner as shown here: http://codex.simple-press.com/.....ng-themes/

within the your sp theme, you have an images folder... most of the theme icons and images will be here

you have a styles folder.. here is where the main css file for the theme is... within there is an overlays folder which will contain specific css customizations for a specifc overlay (colors) if you are using one...

you have a template files folder... when we talk about modifying template files, look in this folder for the file we are very specific about...

as to the spFunctions.php change, it can go just about anywhere, but that was just a shell...  you need to write the code to change the uploader info as you want... we dont know what you want to do...  the current output text is passed to the filter... use php code to alter it as you want, then return it and you will get it displayed like you want...  this is how the standard wp api for plugins works...

we cannot completely customize your them for you in the support forum... we can guide you and give you pointers on where and what to change, but in the end, the final customization beyond the selectable options is up to you...  if that is too much work in unfamiliar territory, we do offer a theme customization service - see the banner in the sidebar...

Avatar
yairoli
Member
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 3:49 pm

OK - Anyway

Try to understand me, I don't know so much about the code

let's talk about the "Default" theme

Where can I find the line for the " add Reply" and "New Topic" buttons
I want to highlight that they would be large
* I could not find it with Firebug

 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625