Integrate the arrays in smf bridge
- *Salvo*
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
16 years 6 months ago #3372
by *Salvo*
Hi, Emir.
Your software works like a charm, and the minor issues were all behind an incorrect configuration, not for sure due the program..excellent!!
I need a hand to integrate the arrays into the smf_integration_arrays, into the file of the smf bridge, in order to see displayed into the forum the actions of the users online.
Here is the integration array list:
All I have as your component is installed is "view something else", instead of "wiew the article bla bla bla.."
Just if and when you have a chance, assuming that it isn't in your to-do list
Thanks a bunch!!
Your software works like a charm, and the minor issues were all behind an incorrect configuration, not for sure due the program..excellent!!
I need a hand to integrate the arrays into the smf_integration_arrays, into the file of the smf bridge, in order to see displayed into the forum the actions of the users online.
Here is the integration array list:
All I have as your component is installed is "view something else", instead of "wiew the article bla bla bla.."
//Additions to the $txt array for the whos online
function add_to_txt(){
global $txt, $mosConfig_live_site, $mosConfig_sitename, $mosConfig_sef;
$txt['who_home'] = 'Viewing the home page of <a href="' . $mosConfig_live_site . '">' . $mosConfig_sitename . '</a>.';
$txt['who_article'] = 'Viewing the article <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_content&task=view&id=%d&Itemid=%d' : sefReltoAbs ('index.php?option=com_content&task=view&id=%d&Itemid=%d')) . '">%s</a>.';
$txt['who_section'] = 'Viewing the section <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_content&task=section&id=%d&Itemid=%d' : sefReltoAbs ('index.php?option=com_content&task=section&id=%d&Itemid=%d')) . '">%s</a>.';
$txt['who_blogsection'] = 'Viewing the section <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_content&task=blogsection&id=%d&Itemid=%d' : sefReltoAbs ('index.php?option=com_content&task=blogsection&id=%d&Itemid=%d')) . '">%s</a>.';
$txt['who_category'] = 'Viewing the category <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_content&task=category&id=%d&Itemid=%d' : sefReltoAbs ('index.php?option=com_content&task=category&id=%d&Itemid=%d')) . '">%s</a>.';
$txt['who_blogcategory'] = 'Viewing the category <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_content&task=category&id=%d&Itemid=%d' : sefReltoAbs ('index.php?option=com_content&task=category&id=%d&Itemid=%d')) . '">%s</a>.';
$txt['who_newsfeeds'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_newsfeeds&task=view&Itemid=%d' : sefReltoAbs ('index.php?option=com_newsfeeds&task=view&Itemid=%d')) . '">News Feeds</a>.';
$txt['who_virtuemart'] = 'Shopping in the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_virtuemart&Itemid=%d' : sefReltoAbs ('index.php?option=com_virtuemart&Itemid=%d')) . '">store</a>.';
$txt['who_sitesearch'] = 'Using the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=com_search&Itemid=%d' : sefReltoAbs ('index.php?option=com_search&Itemid=%d')) . '">Site Search</a>.';
$txt['who_wiki'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Wiki</a>.';
$txt['who_games'] = 'Playing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Games</a>.';
$txt['who_links'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Links</a>.';
$txt['who_linkexchange'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Link Exchange</a>.';
$txt['who_guestbook'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Guestbook</a>.';
$txt['who_contact'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Contact</a> Page.';
$txt['who_gallery'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Gallery</a>.';
$txt['who_polls'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Polls</a>.';
$txt['who_credits'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Credits</a> Page.';
$txt['who_glossary'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Glossary</a>.';
$txt['who_review'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Reviews</a>.';
$txt['who_classifieds'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Classifieds</a>.';
$txt['who_recipes'] = 'Viewing the <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Recipe</a> Book.';
$txt['who_ewriting'] = 'Viewing <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Writing</a> Section.';
$txt['who_other'] = 'Viewing <a href="' . ($mosConfig_sef !='1' ? $mosConfig_live_site . '/index.php?option=%s&Itemid=%d' : sefReltoAbs ('index.php?option=%s&Itemid=%d')) . '">Something Else</a>.';
Just if and when you have a chance, assuming that it isn't in your to-do list

Thanks a bunch!!
Please Log in or Create an account to join the conversation.