Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
rhineus
New Member
New Member


Joined: Feb 22, 2011
Posts: 7

PostPosted: Tue Mar 01, 2011 2:20 pm Reply with quote

Hello fellow nukers,

I'm not sure if I'm putting this in the right spot or not, if I am, would a mod move it to the right spot... Thank you

I would like to have a poetry and articles CMS but I'm not that familiar with CMS's. I know that phpnuke can do poetry and articles but phpnuke is to plane and I saw some members on this forum who were talking about poetry or poems on there site so I thought about giving this another try. Or another nuke site like: evonuke, xtremenuke, CPG-Nuke or DragonflyCMS (based off nuke) etc. I'm a n00b at CMS's so put that in consideration. Thank you and have a great day Smile
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Tue Mar 01, 2011 3:31 pm Reply with quote

The content plus module that comes with Ravennuke may work for you.....

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
killing-hours
RavenNuke(tm) Development Team


Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Tue Mar 01, 2011 4:25 pm Reply with quote

This might help you out. It's called "Enchanted Poetry Module" and the author name is Kathleen.

Here is the direct download link.
Only registered users can see links on this board! Get registered or login!

Here is the page I finally found the link on. Hope it's what you're after Wink
Only registered users can see links on this board! Get registered or login!

I have not tested this with Ravennuke. Don't give up on RN if it doesn't work out of the box.. it might need a bit of tweaking.

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett 
View user's profile Send private message
rhineus
PostPosted: Tue Mar 01, 2011 6:42 pm Reply with quote

Thx nuken and killing-hours... I'll try it out after my host gets freetype installed. Thanks a bunch Smile

EDIT: I've searched these forums but I have yet to find a features list for the latest RN, so do you know where I can get them at?

Thx,
Michael
 
hicuxunicorniobestbuildpc
Life Cycles Becoming CPU Cycles


Joined: Aug 13, 2009
Posts: 967
Location: Netherland

PostPosted: Wed Mar 02, 2011 6:00 am Reply with quote

It contains an old block

OLD
Code:
<?php


if (eregi("block-Poetry_Scroll.php", $PHP_SELF)) {
    Header("Location: index.php");
    die();
}


global $prefix, $dbi;
$content .= "<marquee direction=\"up\" scrollamount=\"2\" height=\"220\" onmouseover='this.stop()' onmouseout='this.start()'>";

$content .="<table class=\"outer\" cellpadding=\"5\" style=\"border-collapse: collapse\" bordercolor=\"#FFFFFF\" cellspacing=\"1\" border=\"0\">";
$content .="<tr class=\"even\" vAlign=\"left\"><td align=\"left\">";

$result = sql_query("SELECT poemid, title FROM ".$prefix."_poetry order by title", $dbi);
while(list($poemid, $thetitle) = sql_fetch_row($result, $dbi)) {
    $content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"modules.php?name=Enchanted_Poetry&amp;func=PoemView&amp;poemid=$poemid\">$thetitle</a><br>";
      }
$content .="</td></tr></table></div>";
$content .="</marquee>";


?>


Replace with


Code:
<?php

//updated by unicornio


if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}


global $prefix, $db;
$content .= "<marquee direction=\"up\" scrollamount=\"2\" height=\"220\" onmouseover='this.stop()' onmouseout='this.start()'>";

$content .="<table class=\"outer\" cellpadding=\"5\" style=\"border-collapse: collapse\" bordercolor=\"#FFFFFF\" cellspacing=\"1\" border=\"0\">";
$content .="<tr class=\"even\" vAlign=\"left\"><td align=\"left\">";

$result = $db->sql_query("SELECT poemid, title FROM ".$prefix."_poetry order by title");
while(list($poemid, $thetitle) = $db->sql_fetchrow($result)) {
    $content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"modules.php?name=Enchanted_Poetry&amp;func=PoemView&amp;poemid=$poemid\">$thetitle</a><br>";
      }
$content .="</td></tr></table></div>";
$content .="</marquee>";


?>


It should work with RavenNuke now. Wink
 
View user's profile Send private message Visit poster's website
hicuxunicorniobestbuildpc
PostPosted: Wed Mar 02, 2011 6:02 am Reply with quote

oops! the whole module needs an update. I will update it soon!!!
 
hicuxunicorniobestbuildpc
PostPosted: Wed Mar 02, 2011 6:32 am Reply with quote

Admin module has been finished but I can't post it here.

Examples:

[code]global $prefix, $db, $admin_file;
if (!defined('ADMIN_FILE')) { die ("Access Denied"); }
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if ($row['radminsuper'] == 1) {

function MenuBlock($pagename){
global $db, $prefix;
$count = "SELECT COUNT(poemuid) AS total FROM ".$prefix."_poetry_unvalid";
$count_result = $db->sql_query($count);
$unval_count = mysql_result($count_result,0,0);
OpenTable();
echo "<center><font class=\"title\">$pagename</font><br><a href=\"admin.php?op=PoetryOptions\">Options</a> | <a href=\"admin.php?op=PoetryCat\">View Categories</a> | <a href=\"admin.php?op=PoetryStyle\">View Styles</a> | <a href=\"modules.php?name=Enchanted_Poetry&file=add\">Add Poem</a> | <a href=\"admin.php?op=PoetryView\">View Poetry</a> | <a href=\"admin.php?op=PoetryValidate\">Validate Poetry ($unval_count)</a> | <a href=\"admin.php?op=PoetryComments\">View Comments</a></center>";
CloseTable();
echo "<br>";
}[/code]
Compare with the rest of the code.


Last edited by hicuxunicorniobestbuildpc on Wed Mar 02, 2011 6:39 am; edited 2 times in total 
nuken
PostPosted: Wed Mar 02, 2011 6:35 am Reply with quote

You can visit our wiki and find out more about what is included in Ravennuke
Only registered users can see links on this board! Get registered or login!
 
rhineus
PostPosted: Wed Mar 02, 2011 11:05 am Reply with quote

nuken wrote:
You can visit our wiki and find out more about what is included in Ravennuke
Only registered users can see links on this board! Get registered or login!
Thx nuken... Take a look at it Smile

@unicornio thx for updating the poetry module. Where can I find the updated poetry module?
 
killing-hours
PostPosted: Wed Mar 02, 2011 11:19 am Reply with quote

Unicorno is posting the corrected code here in this thread for you to update the module with. Maybe he/she will post a completely updated module later?
 
rhineus
PostPosted: Wed Mar 02, 2011 2:06 pm Reply with quote

killing-hours wrote:
Unicorno is posting the corrected code here in this thread for you to update the module with. Maybe he/she will post a completely updated module later?
O' ok, thx killing-hours for letting me know about this. Smile
 
hicuxunicorniobestbuildpc
PostPosted: Thu Mar 03, 2011 8:44 am Reply with quote

Hello Again

The module has been updated with lots of efforts checking code by code.If u find any issue let us know.
Free Download Link
Only registered users can see links on this board! Get registered or login!

Note: Required registration to download, compatible with RavenNuke and all phpnuke.

Enjoy guys! Wink
 
rhineus
PostPosted: Thu Mar 03, 2011 3:13 pm Reply with quote

Thx unicornio Smile

It worked! lol Just have to upload it and import the sql file... If everything was this easy lol
 
hicuxunicorniobestbuildpc
PostPosted: Fri Mar 04, 2011 1:29 am Reply with quote

Actaully you didn't need to import any sql file through phpMyadmin, that is extra if you have find any issue. The module installed by itself if you just go to administration from the module. Keep in mine this was an old module and that is why I needed more time to check everything so we do not put the core in risk. I am glad it worked for you.
 
killing-hours
PostPosted: Fri Mar 04, 2011 2:29 pm Reply with quote

rhineus wrote:
Thx unicornio Smile

It worked! lol Just have to upload it and import the sql file... If everything was this easy lol


Good to hear!

@uni... Thanks for the effort... I didn't have the time to go through it until later this weekend.
 
hicuxunicorniobestbuildpc
PostPosted: Tue Aug 14, 2012 5:40 am Reply with quote

unfortunately this module will give you error and it won't work anymore with RavenNuke 2.5. Guys,

In order to convert this line please let me know what kind of code we should use instead of mysq_result

Code:
$cat_count = mysql_result($count_result,0,0);


Note: Modules which use this abstraction will not work with RavenNuke and I wonder if this line should be

Code:
$cat_count = $db->sql_fetchrow($count_result,0,0);
 
neralex
The Mouse Is Extension Of Arm


Joined: Aug 22, 2007
Posts: 1295
Location: Germany

PostPosted: Tue Aug 14, 2012 6:52 am Reply with quote

Wink


Last edited by neralex on Wed Aug 15, 2012 11:30 am; edited 1 time in total 
View user's profile Send private message
KennyW
Hangin' Around


Joined: Jul 15, 2004
Posts: 44

PostPosted: Wed Aug 15, 2012 11:23 am Reply with quote

Code Author have a poetry module
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
hicuxunicorniobestbuildpc
PostPosted: Wed Aug 15, 2012 12:42 pm Reply with quote

That module is for RavenNuke 2.3+ ONLY. I don't think it will work with RavenNuke 2.5
 
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Aug 15, 2012 1:21 pm Reply with quote

It says 2.3+ which I would take to mean anything after and including 2.3.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©