| Author |
Message |
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Sun May 16, 2010 3:51 am |
|
Buddy, how can i get the wibiya bar to work on my site like yours is working ? |
| |
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Sun May 16, 2010 10:46 pm |
|
I use the Meebo bar here. For the Wibiya bar, take the code they supply you with after you complete their registration process and convert it to php. Place it in a file named head-wibiya.php in your includes/addons folder and you are good to go. |
_________________ Tricked Out News |
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Sun May 16, 2010 11:31 pm |
|
That is assuming you are using Ravennuke. Other nuke sites, you would have to add it into the head of the site. It has been so long since I have used regular nuke, I just can't remember where all the head stuff is called from. |
_________________ Tricked Out News |
|
|
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Mon May 17, 2010 12:12 am |
|
In base nuke you could use the custom_head.php and out it in the includes/custom files folder i do believe. Just wanted to offer that in case someone can use the info. |
| |
|
|
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Mon May 17, 2010 1:44 am |
|
i get the followng code
How do i get it to work. I tried the html to php convertor and i added it to the includes/addons/wibiya.php and the bar does not appear. What could i be doing wrong ? |
| |
|
|
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Mon May 17, 2010 1:55 am |
|
meebo is almost exactly the same, do i place it in the theme code or in the main files somewhere my friend. Sorry to bug you on this. I hope it isn't a huge bother. |
| |
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Mon May 17, 2010 2:26 am |
|
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Mon May 17, 2010 2:29 am |
|
Meebo has code that has to be added to the themes header section and the footer section. |
_________________ Tricked Out News |
|
|
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Mon May 17, 2010 3:33 am |
|
Can i add it directly the way it shows even though it is javascript ? |
| |
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Mon May 17, 2010 3:37 am |
|
here is what my test one looks like
| Code: | <?php
echo '<script src="http://cdn.wibiya.com/Toolbars/dir_0381/Toolbar_381529/Loader_381529.js" type="text/javascript"></script>';
?>
|
|
_________________ Tricked Out News |
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Mon May 17, 2010 3:42 am |
|
for meebo, if you theme uses a header.html and a footer.html, you can just add it as is. If your theme only has a theme.php, you will need to convert it to php and add it where needed. I will paste my theme.php function header and footer here for you to look at.
| Code: | function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $anonymous, $topic, $name, $sel, $db, $ThemeSel, $nukeNAV, $name;
cookiedecode($user);
echo "<body>";
echo "<script type=\"text/javascript\">\n";
echo "if (typeof Meebo == 'undefined') {\n";
echo " Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};\n";
echo " (function(q){\n";
echo " var d=document,b=d.body;\n";
echo " if(!b){var cb=arguments.callee;return setTimeout(function(){cb(q)},100);}\n";
echo " var m=b.insertBefore(d.createElement('div'), b.firstChild), s=d.createElement('script');\n";
echo " m.id='meebo'; m.style.display='none'; m.innerHTML='<iframe id=\"meebo-iframe\" frameBorder=\"0\" ><\/iframe>';\n";
echo " s.src='http'+(q.https?'s':'')+'://'+(q.stage?'stage-':'')+'cim.meebo.com/cim/cim.php?network='+q.network;\n";
echo " d.getElementsByTagName('head')[0].appendChild(s);\n";
echo " })({network: 'trickedoutnewscom_zu04ca', stage: false});\n";
echo " Meebo('makeEverythingSharable');\n";
echo "}\n";
echo "</script>\n";
echo "\n";
if ($banners) {
echo ads(1);
}
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6.0') !== FALSE) {
$navtop = ' • <a href="index.php"><b>'._HOME.'</b></a> • <a href="downloads.html"><b>'._UDOWNLOADS.'</b></a> • <a href="account.html"><b>'._FSIYOURACCOUNT.'</b></a> • <a href="modules.php?name=Forums"><b>'._BBFORUMS.'</b></a> • ';
}
else {
$navtop = $nukeNAV;
}
if (defined('INDEX_FILE')) {
echo '<div id="header"><div id="header_inner" class="fixed"><div id="logo"><span><img src="themes/'.$ThemeSel.'/images/logo.png" alt="Tricked Out News" border="0" /></span></div>';
if ($banners) {
echo '<div id="logo_right">';
echo ads(0);
echo '</div>';
};
echo '</div><center>'.$navtop.'</center><br style="clear: left" /></div><div id="main" class="clearfix"><div id="main_inner" class="fixed"><div id="primaryContent_3columns">';
}else{
echo '<div><div id="header"><div id="header_inner" class="fixed"><div id="logo"><span><img src="themes/'.$ThemeSel.'/images/logo.png" alt="" border="0" /></span></div>';
if ($banners) {
echo '<div id="logo_right">';
echo ads(0);
echo '</div>';
};
echo '</div><center>'.$navtop.'</center><br style="clear: left" /></div><div id="main" class="clearfix"><div id="main_inner" class="fixed"><div id="primaryContent_2columns">';
}
if (defined('INDEX_FILE')) {
echo '<div id="columnA_3columns">';
}else{
echo '<div id="columnA_2columns">';
}
}
/************************************************************/
/* Function themefooter() */
/* Control the footer for your site. */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $name;
echo '</div></div><div id="secondaryContent_3columns">';
if (defined('INDEX_FILE')) {
echo '<div id="secondaryContent_2columns"><div id="columnC_2columns">';
}else{
echo '<div id="columnB_3columns">';
}
blocks('left');
echo '</div>';
if (defined('INDEX_FILE')) {
echo '<div id="columnC_3columns">';
blocks('right');
echo '</div>';
}
$footer_message = "<p>$foot1</p><p>$foot2</p><p>$foot3</p><p>$foot4</p>";
echo '</div><br class="clear" /></div></div></div><div id="footer" class="fixed">';
footmsg();
echo '</div>';
echo "<script type=\"text/javascript\">\n";
echo " Meebo(\"domReady\");\n";
echo "</script>\n";
}
|
|
_________________ Tricked Out News |
|
|
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Mon May 17, 2010 4:00 am |
|
You have to be a genius. My html to php convertor did not even come close to that. I did not use php-nuke tools. I actually bought a html to php program and it was not close to what you have and yours works. |
| |
|
|
snype
Regular


Joined: Apr 20, 2010
Posts: 11
Reputation: 1 
|
Posted:
Mon May 17, 2010 6:27 am |
|
|
|
nextgen
I post a lot


Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9 
|
Posted:
Mon May 17, 2010 6:49 am |
|
And i dont my friend. Ii have a bit of code showing at the bottom but i will track it down. It looks like this
Looks like part of the header code in the theme.php doesnt it. |
| |
|
|
bobby
Site Admin


Joined: Jan 20, 2009
Posts: 532
Reputation: 427.2  Votes: 1
|
Posted:
Mon May 17, 2010 7:00 am |
|
To display code correctly in my forums, you will need to click Disable HTML in this post so it will not be auto edited. |
_________________ Tricked Out News |
|
|
 |
|
|