Support Forum

forum looking ugly

DE Dre Erwin
Dre Erwin
Member

the sub forum images are bigger then the forum images and they run vertical…why is this?  How can I run them horitonally and smaller?

22 Answers

New Answer

DE Dre Erwin
Dre Erwin
Member

Mr Papa said
do you have a link to your site please?

http://www.saskmilitia.com/forum/

MP Mr Papa
Mr Papa
Member

not entirely sure what you are asking…  you dont seem to have any subforums…  and not sure what you mean by the images run vertical…

but will try with a couple things…  if you are talking about the custom icons you have for each forum and how they look on the group view page vs how they look in the forum header on forum view, its because of the image sizes…   you have uploaded very large images for the icons 118×120 px…  on group view, they appear smaller because they get scaled because of the limited width  you have given the icon column… on forum view, you just see them full width (and height) because there is more room allocated…

so they are the same image, just very large…  if you want them shown small like on group view, you should be using a much smaller image (ie 32px), then they will look the same… 

by vertical do you mean the page links vice subforum images that you said??  that one is odd as something is adding a line break after each page number… we do not have any facility for doing that… can you show me the template tag  you are using in your spGroupView.php template file for your sp theme?

MP Mr Papa
Mr Papa
Member

are those private subforums?  cause I dont see them…. and explained about the page links…

something is adding in br tags…  wp used to have a problem with plugins doing this long ago by dorking with wpautop filter but has mostly gone away…

what happens if you switch to default wp theme?  any better?  if not, disable all other plugins and see…

YS Yellow Swordfish
Yellow Swordfish
Member

If these are custom sub-forum icons can you also look in your spGroupView.php template (in the /templates folder of your SP theme), find the function call to the display tag sp_ForumIndexSubForums() and copy and paste that line of code here? Let’s see what you have for it….

DE Dre Erwin
Dre Erwin
Member

sp_ForumIndexSubForums(‘unreadIcon=sp_SubForumUnreadIcon.png’, __sp(‘Sub-Forums’), __sp(‘Browse topics in %NAME%’));
sp_SectionEnd(”, ‘forum’);

endwhile; else:
sp_NoForumsInGroupMessage(‘tagClass=spMessage’, __sp(‘There are no forums in this group’));
endif;

sp_SectionEnd(”, ‘forumlist’);

sp_SectionEnd(”, ‘group’);

endwhile; else:

DE Dre Erwin
Dre Erwin
Member

u can see it cause its hiidn for general public but its the home page view of the forum

DE Dre Erwin
Dre Erwin
Member

what would it take to get u guys to help me mod my theme to best suit my bf4 platoon website?  Maybe I just need more advice

YS Yellow Swordfish
Yellow Swordfish
Member

I can certainly get Brandon to get in touch with you to discuss any customisation you feel you would like.

But first let’s look at the sub-forum icons. They should default to a width of 20 pixels so I am sunure why yourds are not but let’s try this…

Can you change that one line of code for this:

sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&stack=0&iconWidth=20', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

Note the extra items separated by ampersands, no spaces (stack and iconWidth).

Does that help?

DE Dre Erwin
Dre Erwin
Member

copied and pasted in groupview..but still no change

DE Dre Erwin
Dre Erwin
Member

<?php
# ————————————————————————————–
#
# Simple:Press Template
# Theme : Default
# Template : group
# Author : Simple:Press
#
# The ‘group’ template is used to display the Group/Forum Index Listing
#
# ————————————————————————————–

# Load the forum header template – normally first thing
# ———————————————————————-
sp_SectionStart(‘tagClass=spHeadContainer’, ‘head’);
sp_load_template(‘spHead.php’);
sp_SectionEnd(”, ‘head’);

sp_SectionStart(‘tagClass=spBodyContainer’, ‘body’);

# Start the ‘groupView’ section
# ———————————————————————-
sp_SectionStart(‘tagClass=spListSection’, ‘groupView’);

# Start the Group Loop
# ———————————————————————-
if (sp_has_groups()) : while (sp_loop_groups()) : sp_the_group();

# Start the ‘groupHeader’ section
# ———————————————————————-
sp_SectionStart(‘tagClass=spGroupViewSection’, ‘group’);
sp_GroupHeaderRSSButton(‘tagClass=spButton spRight’, __sp(‘Group RSS’), __sp(‘Subscribe to the RSS feed for this forum group’));
sp_GroupHeaderIcon(‘tagClass=spHeaderIcon spLeft’);
sp_GroupHeaderName(‘tagClass=spHeaderName’);
sp_InsertBreak(‘direction=right’);
sp_GroupOpenClose(‘tagClass=spIcon spRight&default=open’, ‘Open forum listing’, ‘Close forum listing’);
if (function_exists(‘sp_ShareThisTag’)) sp_ShareThisTag(‘tagClass=ShareThisTag spRight’);
sp_GroupHeaderDescription(‘tagClass=spHeaderDescription’);
sp_GroupHeaderMessage(‘tagClass=spHeaderMessage’);

sp_InsertBreak();

sp_SectionStart(‘tagClass=spGroupForumContainer’, ‘forumlist’);

# Start the Forum Loop
# ———————————————————————-
if (sp_has_forums()) : while (sp_loop_forums()) : sp_the_forum();

# Start the ‘forum’ section
# ———————————————————————-
sp_SectionStart(‘tagClass=spGroupForumSection’, ‘forum’);

# Column 1 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spLeft&width=6%&height=55px’);
sp_ForumIndexIcon(‘tagClass=spRowIcon spLeft’);
sp_ColumnEnd();

# Column 2 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spLeft&width=48%&height=55px’);
sp_ForumIndexName(‘tagClass=spRowName’, __sp(‘Browse topics in %NAME%’));
sp_ForumIndexDescription(‘tagClass=spRowDescription’);
sp_ForumIndexPageLinks(‘tagClass=spInRowPageLinks spLeft’, __sp(‘Jump to page %PAGE% of topics’));
sp_ColumnEnd();

# Column 4 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spRight&width=32%&height=55px’);
sp_ForumIndexLastPost(‘tagClass=spInRowPostLink&nicedate=1&date=0&time=0&stackdate=0’, __sp(‘Last Post’), __sp(‘No Topics’));
sp_ColumnEnd();

# Column 3 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spRight&width=14%&height=55px’);
sp_ForumIndexTopicCount(‘tagClass=spInRowCount’, __sp(‘Topics’));
sp_ForumIndexPostCount(‘tagClass=spInRowCount’, __sp(‘Posts’));
sp_ForumIndexStatusIcons(‘tagClass=spStatusIcon spCenter’, __sp(‘This forum is locked’), __sp(‘This forum has unread posts in %COUNT% topic(s)’), __sp(‘Add new topic in this forum’), __sp(‘No permission to start topics’));
sp_ColumnEnd();

sp_InsertBreak();

sp_ForumIndexSubForums(‘unreadIcon=sp_SubForumUnreadIcon.png&stack=0&iconWidth=20’, __sp(‘Sub-Forums’), __sp(‘Browse topics in %NAME%’));

sp_SectionEnd(”, ‘forum’);

endwhile; else:
sp_NoForumsInGroupMessage(‘tagClass=spMessage’, __sp(‘There are no forums in this group’));
endif;

sp_SectionEnd(”, ‘forumlist’);

sp_SectionEnd(”, ‘group’);

endwhile; else:
sp_NoGroupMessage(‘tagClass=spMessage’, __sp(‘The requested group does not exist or you do not have permission to view it’), __sp(‘No groups have been created yet’));
endif;

sp_SectionEnd(”, ‘groupView’);

sp_RecentPostList(‘show=10’, __sp(‘Unread and recently updated topics’));

sp_SectionEnd(”, ‘body’);

# Load the forum footer template – normally last thing
# ———————————————————————-
sp_SectionStart(‘tagClass=spFootContainer’, ‘foot’);
sp_load_template(‘spFoot.php’);
sp_SectionEnd(”, ‘foot’);

?>

YS Yellow Swordfish
Yellow Swordfish
Member

Then I would suspect that this too is a knock-on effect from, perhaps your WP theme or maybe another plugin.

We would need to actually see the page so that we can interrogate the styling being applied. Do you have anything we can look at on the site?