nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.

Tag This



.
nukeSEO.com: Forums


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

SB: article block on RavenNuke
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm)
View previous topic :: View next topic  
Author Message
Qlof
webmaster


Joined: Sep 30, 2007
Posts: 80

PostPosted: Sun Mar 23, 2008 4:55 am    Post subject: SB: article block on RavenNuke Reply with quote

So I went ahead and installed RavenNuke. It seems real good. I'm in the processing of editing it right now to fit my needs.

I want to add social bookmarks into the article.php file in the News module. As you might know, the sample files and instructions does not apply to ravennuke. However, I inserted the 2 different additions where I thought they'd fit (by looking at where they would go on phpnuke). It doesn't seem to work at all. I managed to insert google adsense code and I don't think I'm doing anything wrong with the edits... there must be other lines of code for RavenNuke or maybe RN is somehow blocking it.

Did anyone have success doing the edits for article.php in RN?
  
Back to top
View user's profile Send private message Visit poster's website
amber222
webmaster


Joined: Mar 11, 2008
Posts: 19

PostPosted: Wed Mar 26, 2008 7:49 pm    Post subject: Re: SB: article block on RavenNuke Reply with quote

Yes. Iam using Ravennuke 2.20.01 on a few sites. The first edit can be easily found. The code for finding the second edit is just slightly different.

Instead of:

Code:
$optionbox .= "</center>\n";


Ravennuke uses:

Code:
$optionbox .= "\n";



So, after editing, it looks like this:

Code:
$optiontitle = _OPTIONS;

$optionbox = '<br />';
$optionbox .= '&nbsp;<img src="images/print.gif" border="0" alt="'._PRINTER.'" title="'._PRINTER.'" /> <a href="modules.php?name='.$module_name.'&amp;file=print&amp;sid='.$sid.'">'._PRINTER.'</a><br /><br />';
if (is_user($user)) {
    $optionbox .= '&nbsp;<img src="images/friend.gif" border="0" alt="'._FRIEND.'" title="'._FRIEND.'" /> <a href="modules.php?name='.$module_name.'&amp;file=friend&amp;op=FriendSend&amp;sid='.$sid.'">'._FRIEND.'</a><br /><br />';
}

# nukeSEO Social Bookmarking
$optionbox .= $socialbookmarkHTML;
# nukeSEO Social Bookmarking

$optionbox .= "\n";
if (is_admin($admin)) {
    $optionbox .= '<center><b>'._ADMIN.'</b><br />[ <a href="'.$admin_file.'.php?op=adminStory">'._ADD.'</a> | <a href="'.$admin_file.'.php?op=EditStory&amp;sid='.$sid.'">'._EDIT.'</a> | <a href="'.$admin_file.'.php?op=RemoveStory&amp;sid='.$sid.'">'._DELETE.'</a> ]</center><br /><br />';
}
  
Back to top
View user's profile Send private message
Qlof
PostPosted: Fri Mar 28, 2008 6:05 pm    Post subject: Re: SB: article block on RavenNuke Reply with quote

thanks! had to add this too, though:

Code:
themesidebox($optiontitle, $optionbox);


[/code]
  
Back to top
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 875

PostPosted: Sat Mar 29, 2008 7:52 am    Post subject: Re: SB: article block on RavenNuke Reply with quote

At some point, I'll add instructions for integrating SB into RN - this is a good start, thanks!
_________________
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

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


Page Generation: 0.05 Seconds