Custom Join tags

mk12_20mm

New Member
I searched but really could not find answer. :)

In the featured_member.html adding some custom join tags and even trying the join language tags plugin will work fine when displaying any of the ranking/details pages. No issue there.

They don't work when placed in the featured_member.html when selecting any of the other pages like join and custom pages... Maybe not a supported use?

For the working example - using the join language and using the internal value to define the class and png file. Using the _display value for the alt, title ... again this works great for ranking details pages..
Code:
<li class="de"><img alt="German" title="German" src="flag_set/de.png"></li>
When selecting the other pages the values are null.
Code:
<li class=""><img alt="" title="" src="flag_set/.png"></li>
thanks...
 

Basti

Administrator
Staff member
sources/misc/skin.php
Code:
        $result = $DB->select_limit("SELECT username, url, title, description, banner_url FROM {$CONF['sql_prefix']}_sites WHERE active = 1 ORDER BY RAND()", 3, 0, __FILE__, __LINE__);
change to this, that would grab everything from the _sites table of the member. Swear we did this before, but looks like it got ovrwritten again
Code:
        $result = $DB->select_limit("SELECT * FROM {$CONF['sql_prefix']}_sites WHERE active = 1 ORDER BY RAND()", 3, 0, __FILE__, __LINE__);
 
Top