Tricked Out News

Welcome to TON. This site is dedicated to development of addons for the RavenNuke™ CMS
Follow Us:
Tricked Out Mods: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wibiya on my nuke site
 Goto page 1, 2  Next
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> RavenNuke
View previous topic :: View next topic  
Author Message
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sat May 15, 2010 12:51 pm 
Post subject: Wibiya on my nuke site
Reply with quote

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


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 7:46 am 
Post subject:
Reply with quote

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


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 8:31 am 
Post subject:
Reply with quote

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
  
Back to top
View user's profile Send private message
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sun May 16, 2010 9:12 am 
Post subject:
Reply with quote

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.
  
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sun May 16, 2010 10:44 am 
Post subject:
Reply with quote

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 ?
  
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sun May 16, 2010 10:55 am 
Post subject:
Reply with quote

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


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 11:26 am 
Post subject:
Reply with quote

In ravennuke it has to be head-filename.php
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 11:29 am 
Post subject:
Reply with quote

Meebo has code that has to be added to the themes header section and the footer section.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sun May 16, 2010 12:33 pm 
Post subject:
Reply with quote

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


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 12:37 pm 
Post subject:
Reply with quote

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


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 12:42 pm 
Post subject:
Reply with quote

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
  
Back to top
View user's profile Send private message
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sun May 16, 2010 1:00 pm 
Post subject:
Reply with quote

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


Joined: Apr 20, 2010
Posts: 11

Reputation: 1

PostPosted: Sun May 16, 2010 3:27 pm 
Post subject:
Reply with quote

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
  
Back to top
View user's profile Send private message
nextgen
I might as well work here
I might as well work here


Joined: Jun 28, 2009
Posts: 48
Location: Maryland
Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4Reputation: 8.4

PostPosted: Sun May 16, 2010 3:49 pm 
Post subject:
Reply with quote

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


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun May 16, 2010 4:00 pm 
Post subject:
Reply with quote

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
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> RavenNuke All times are GMT - 5 Hours
 Goto page 1, 2  Next
 Page 1 of 2

 

Jump to:   
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
Forums ©