News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

smitch6

it worked thanks but.........
for some reason the gender icons have vanished for most of the staff ??????
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

smitch6

i have sorted of figured out why its not showing the gender icons but for some reason the directions/code is wrong
i actually addressed this issue with sp but once again never got a response
all the members on the SP were male ie even the females had the blue gender icon beside their names

but whats happened now is the admin (me) has got the blue icon which is the gmod.png
the senior (global) mods have the lmod.png
and the rest of the staff have .png
so its not actually got an icon for them

????? weird hey that SP can't figure out gender
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

smitch6

the lmod is the female icon and the gmod is the male
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

Spuds

 :'(

OK ....
Find:
$icons = array(1 => 'admin', 'gmod', 'lmod');

replace with
$icons = array(1 => 'admin', 'gmod', 'gmod', 'lmod', 'lmod', 'lmod');

the list of icons corresponds to the sort order list .... here your sort order is ....

'Administrator', 'Senior Leader', 'Senior Moderator', 'Moderator', 'Tech Team'

so
Administrator = admin
Senior Leader = gmod
Senior Moderator = gmod
Moderator = lmod
Tech Team = lmod
default = lmod .... notice there is one more icon listed than there are sort names ... its the catch all ...

And if you decide those icons are not so good, you can add new icons in to the themes/default/images/sp  in there you will see the files lmod.png gmod.png etc 
You could make a new one say techteam.png and then use techteam as the fifth icon name which corresponds to the fifth item in the sortlist of tech team

smitch6

a HUGE thanks for you help
its a pity it doesn't do it by gender though
but thats a SP fault somewhere along the line
because even the 'who's on-line' box doesn't sort the gender out either
well strange as everyone on there is male??????

thanks so much for taking the time to sort this out for me i really appreciate it
it looks so much better now

i have posted the info on SP's website on the thread i posted on so hopefully if others want the same fix they can do it also

your a star Spuds :) thanks again
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

smitch6

i suppose i could just delete that line and it will remove the icons completely
and then find the line for the who's online and do the same that would cure the gender issue
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

smitch6

no i can't just delete that line lol oops
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

smitch6

not sure why  ??? but that didn't work

i'va attached the files if you want to check everything is right
portalblocks its on line 376
and subs is on lines
82 and 131
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

smitch6

:) perfect it works great

thanks so much for your help
i really appreciate it
well done for some brill work :)
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

Shades.

I just moved my sites to a new server and now one of my RSS feed blocks is not working. It just shows this error:

XML error: not well-formed (invalid token) at line 11

You can view it at http://www.myauctionfamily.com on the left side half way down!

Any help would be appreciated!
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

trekkie2444

I installed SimplePortal again on my new server after moving and upgrading to a fresh copy of SMF RC4, but I'm having a lot of strange formatting issues. My main_block.png file seems to not go all the way to the left side now, and my category titles are huge. Take a look for yourself (it all worked fine until I installed the mod...everything is fresh except for the database):

http://www.e-p1.net/index.php?action=forum

Angelina Belle

trekkie -- because of the need to quickly deal with changes to CURVE-based themes in 2.0RC4, it is now necessary to put a copy of portal.css in the css folder of every single theme you are using.

You can find a good explanation at http://simpleportal.net/index.php?topic=6885

Please give this a try, and if it doesn't fix every single theme problem, please bring the topic up again.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Angelina Belle

Quote from: BoZilla on November 30, 2010, 12:02:44 PM
I just moved my sites to a new server and now one of my RSS feed blocks is not working. It just shows this error:

XML error: not well-formed (invalid token) at line 11

You can view it at http://www.myauctionfamily.com on the left side half way down!

That is a VERY interesting report. There have been puzzling problems with that RSS block. It fails where you'd think it out to succeed.
Either your problem is related to your new server,  or it is related to a "special" character in a recent addition to the RSS feed, which coincidentally happened at the time of the server move.  I'm betting on the latter, but if it is the former, well, that would really be interesting...

Any help would be appreciated!
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Angelina Belle

smith -- the lmod and gmod icons are not meant to be male or female.  They're both meant to be gender-neutral.  If you blow them up really big, you'll see what I mean.  Somehow the different hair color makes the face shape look different, I guess.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

ysite

Why isn't this showing up for guests?

Angelina Belle

Quote from: ysite on December 01, 2010, 11:41:04 PM
Why isn't this showing up for guests? (emphasis mine)
What is not showing up for guests?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

trekkie2444

I tried that it and seems to have fixed half of it, but now I have a layout problem on the left side of the portal where it looks like it's trying to repeat or just show as a block in the same color as the title bar.

trekkie2444

I've got layout problems everywhere because of SimplePortal. My stats section has missing headers, the text that I write in quick reply and new topics in the post box is giant, and I have no idea why. I'm using the Analysis theme from Crip, you can see what's going on for yourself:

http://www.e-p1.net/forum/

ysite

Quote from: AngelinaBelle on December 02, 2010, 01:40:06 AM
Quote from: ysite on December 01, 2010, 11:41:04 PM
Why isn't this showing up for guests? (emphasis mine)
What is not showing up for guests?

The blocks are not showing up for guests even though they are enabled in the AP.
I have few advertisements set up for blocks and they seem to b working fine for members but not for guests.

HELP Please! !! @ !

trekkie2444

Quote from: Spuds on December 02, 2010, 10:09:50 AM
As an experiment,  in the portal.css file, comment out the compatibility styles section at the bottom like this ...
/* ************************************* */
/* Compatibility styles                  */
/* ************************************* */
/*h4.catbg span.left, h4.catbg2 span.left, h3.catbg span.left, h3.catbg2 span.left, .table_list tbody.header td span.left
{
float: left;
display: block;
width: 9px;
height: 31px;
background: url(../images/theme/main_block.png) no-repeat 0 -160px;
}

h4.titlebg span.left, h3.titlebg span.left
{
float: left;
display: block;
width: 9px;
height: 31px;
background: url(../images/theme/main_block.png) no-repeat 0 -200px;
}*/


and see what your site looks like.  Please note the portal page blocks will be broken but does the rest of the analysis theme look correct at that point?




Not sure what you want me to do with this (been a while since I edited CSS).

Advertisement: