Skip to main content
[ADDON] SimplePortal Started by Spuds · · Read 547360 times 0 Members and 2 Guests are viewing this topic.

Re: [ADDON] SimplePortal

Reply #660

Thanks, @Spuds !

Is there a way to just have board name and not a link?
I found this line, and tried to edit, but would not work:

Code: (Line) [Copy]
<span class="floatright">', $txt['incat'], ': ', $news['board']['link'], '</span>

Code: (Tried) [Copy]
<span class="floatright">', $txt['incat'], ': ', $news['board'], '</span>

Yes, I made and edited the text call....

Re: [ADDON] SimplePortal

Reply #661

Its probably $news['board']['name']

Re: [ADDON] SimplePortal

Reply #662

@Spuds

Trying to place a block for just the gallery.
However, everything I try for visibility profile seems to not work.

Code: [Copy]
Wavy (~)
This symbol acts as a wildcard, allowing you to include dynamic actions like ../index.php?issue=* or ../index.php?game=*. Used as ~action

I tried to use:
~media
~media*
~media/
~media/*

Nothing makes the block appear anywhere in the gallery. I'd like it on all gallery pages, etc.


Re: [ADDON] SimplePortal

Reply #663

Try just plain media with no wildcard etc. and that should work.

Looking at the code I do need to change / update / improve the way SP handles the ~ wildcard action so its works better with changes in 2.0's URL Rewriting functions.  But until that happens, try just media