Advertise With Us
View next topic
View previous topic
Post new topic   Reply to topic   print   Thank Post
Author Message
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Sun May 16, 2010 3:51 am Reply with quote Back to top

Buddy, how can i get the wibiya bar to work on my site like yours is working ?
 
View user's profile Send private message Yahoo Messenger MSN Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Sun May 16, 2010 10:46 pm Reply with quote Back to top

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 
View user's profile Send private message
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Sun May 16, 2010 11:31 pm Reply with quote Back to top

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 
View user's profile Send private message
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Mon May 17, 2010 12:12 am Reply with quote Back to top

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.
 
View user's profile Send private message Yahoo Messenger MSN Messenger
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Mon May 17, 2010 1:44 am Reply with quote Back to top

i get the followng code

Code:
<script></script>


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 ?
 
View user's profile Send private message Yahoo Messenger MSN Messenger
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Mon May 17, 2010 1:55 am Reply with quote Back to top

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.
 
View user's profile Send private message Yahoo Messenger MSN Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Mon May 17, 2010 2:26 am Reply with quote Back to top

In ravennuke it has to be head-filename.php

_________________
Tricked Out News 
View user's profile Send private message
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Mon May 17, 2010 2:29 am Reply with quote Back to top

Meebo has code that has to be added to the themes header section and the footer section.

_________________
Tricked Out News 
View user's profile Send private message
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Mon May 17, 2010 3:33 am Reply with quote Back to top

Can i add it directly the way it shows even though it is javascript ?
 
View user's profile Send private message Yahoo Messenger MSN Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Mon May 17, 2010 3:37 am Reply with quote Back to top

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 
View user's profile Send private message
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Mon May 17, 2010 3:42 am Reply with quote Back to top

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 
View user's profile Send private message
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Mon May 17, 2010 4:00 am Reply with quote Back to top

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.
 
View user's profile Send private message Yahoo Messenger MSN Messenger
snype
Regular
Regular



Joined: Apr 20, 2010
Posts: 11

Reputation: 1

PostPosted: Mon May 17, 2010 6:27 am Reply with quote Back to top

Just an FYI use this to convert html to php its really good if you dont understand all the escaping stuff

Easy HTML To Any Script Converter
http://www.easyhtools.com/download.html
 
View user's profile Send private message
nextgen
I post a lot
I post a lot



Joined: Jun 28, 2009
Posts: 35
Location: Maryland
Reputation: 13.9

PostPosted: Mon May 17, 2010 6:49 am Reply with quote Back to top

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

Code:
echo "\n";


Looks like part of the header code in the theme.php doesnt it.
 
View user's profile Send private message Yahoo Messenger MSN Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Mon May 17, 2010 7:00 am Reply with quote Back to top

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 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print   Thank Post

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2008 phpBB Group

All times are GMT + 10 Hours
Forums ©

HomeTwitterFaceBookFeedsDonateRecommended Sites

Recommended Sites

Raven PHP Scripts

Nuke SEO

Montego Scripts

Code Authors

nunuke.co.uk