News:

Wondering if this will always be free?  See why free is better.

Main Menu

SimplePortal

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

Previous topic - Next topic

butch2k

Hummm I noticed something odd with SP and RC5.
Could someone with RC5 and SP installed test posting this ?

[quote=test]This is a quoted text[/quote]
[color=red][b]A colored answer ?[/b][/color]


the parse_tag_cache used with SP seems not to work well with the "parsed_tags_allowed" paramer used with this kind of quote as it results in anything behind it not to be parsed correctly (A colored answer ? appear without any style.)

reefforum

Hello, i have been using this excellent mod for a couple of months and just love it.

I have the latest posts in the top blocks under a main photo.  my question:  is it possible to have the topic info next to the topic in the latest post?

this is what it looks like now:




and I'd like it to look like this:



possible?

Angelina Belle

reefforum: SimplePortal, out of the box, does not come with a setting for that.
To achieve this, you would need to do some customization of the sp_recent function in  PortalBlocks.php

butch2k: I see what you mean. Tricky stuff.  I guess this will need a bug report filed at simpleportal.net

giovannie: The only thing I can guess is that the proxy server is messing with headers, which could cause a number of problems. I've heard of proxy servers messing with the REFERRER, which can really confuse SMF.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

MATTEK

Quote from: butch2k on March 15, 2011, 04:51:32 PM
Hummm I noticed something odd with SP and RC5.
Could someone with RC5 and SP installed test posting this ?

[quote=test]This is a quoted text[/quote]
[color=red][b]A colored answer ?[/b][/color]


the parse_tag_cache used with SP seems not to work well with the "parsed_tags_allowed" paramer used with this kind of quote as it results in anything behind it not to be parsed correctly (A colored answer ? appear without any style.)

Yea. I can't get any color either.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

reefforum

#3804
Quote from: AngelinaBelle on March 15, 2011, 07:42:10 PM
reefforum: SimplePortal, out of the box, does not come with a setting for that.
To achieve this, you would need to do some customization of the sp_recent function in  PortalBlocks.php


any chance you could tell me how to do it? I need to make changes to this part?



<tr>
<td class="sp_recent_icon sp_center">
', sp_embed_image(empty($parameters['type']) ? 'post' : 'topic'), '
</td>
<td class="sp_recent_subject">
<a href="', $item['href'], '">', $item['subject'], '</a>
', $item['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $item['topic'] . '.msg' . $item['new_from'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>', '<br />[', $item['board']['link'], ']
</td>
<td class="sp_recent_info sp_right">
', $item['poster']['link'], '<br />', $item['time'], '
</td>
</tr>';

Angelina Belle

Check with the SSI_ function to see which values you can get from it.
It will certainly take some time to sit down and sort that all out.
This support thread is probably not the best place for that kind of work.
You might try a custom coding board here or at simpleportal.net -- wherever you think you might attract the most number of interested passers-by.

Enjoy!
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

butch2k

Quote from: AngelinaBelle on March 15, 2011, 07:42:10 PM
butch2k: I see what you mean. Tricky stuff.  I guess this will need a bug report filed at simpleportal.net
/quote]Thanks i reported the issue.

WhiteEagle

Question:

How do I edit the staff block to make it show what usergroups I want it to show, cause I don't want it to show two groups that aren't post-count based.
I fold for team 52482. Do you Fold@Home?
SMF powered sites: Leet Link LeetSpace.com

Angelina Belle

WhiteEagle -- that would take some custom coding. Other users have done some related things with that block. Please make a quick search at SimpleMachines.org to get some ideas.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

thesikaleon

I made some custom pages and I made some custom tabs following this guide http://www.simplemachines.org/community/index.php?topic=261880.0


When I'm on the custom page the tab is not highlighted, but its the Home tab highlighted.

What i should change?

thanks for your time

syphergaming

idk if this has been posted on here or not but when i veiw my portal and some other things i see this

i edit this theme me and my m8 edit this theme in RC3

Angelina Belle

syphergaming -- copy portal.css from Themes/default/css into the css directory of your custom theme. That should correct the titlebar problem.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

bros

Would it be possible to make it so that people with certain masks don't see certain blocks, even if they are admins?

Angelina Belle

SimplePortal does not provide a way to hide blocks from admin.
That would require customization of SimplePortal, or using a custom php block.

You can search simpleportal.net to find other users who have successfully hidden blocks from admin, using a little code provided by SimplePortals' developers.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

-=[Vyorel]=-

Quote from: syphergaming on March 21, 2011, 12:23:22 PM
idk if this has been posted on here or not but when i veiw my portal and some other things i see this

i edit this theme me and my m8 edit this theme in RC3

replace the main_block.png of your theme with the main_block.png of default theme.


Themes/your-theme/images/theme -> main_block.png
Themes/default/images/theme -> main_block.png

My mods for SMF - [6].

Arantor

Or you could do as others have advised and copy the portal.css file across instead so as to retain the custom theme look rather than replacing/damaging the theme.
Holder of controversial views, all of which my own.


ironhide1

Hello using RC5 and 2.3.3 how would I go about showing user avatars in the recent post section? Really like how this mod works and that is the only feature I would like to carry through from TP. Any help is greatly appreciated.

Thanks

Angelina Belle

SimplePortal does not show avatars in the recent posts block. This feature would require a change to the php code.

Other users have also been discussing similar things recently in the custom coding boards at http://simpleportal.net
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

TheListener

Hi AB not seen you for a while.

Not sure if this has been mentioned before but is there an easy way to reset the pages views back to 0?

Angelina Belle

Quote from: Brack1 on March 24, 2011, 10:27:02 AM
Not sure if this has been mentioned before but is there an easy way to reset the pages views back to 0?
? pages views?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Advertisement: