PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
rhineus
New Member
New Member


Joined: Feb 22, 2011
Posts: 7

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

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: 1536
Location: North Carolina

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

The content plus module that comes with Ravennuke may work for you.....
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: 415
Location: Houston, Tx

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

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 to the forums!


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 to the forums!


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.
View user's profile Send private message
rhineus
New Member
New Member


Joined: Feb 22, 2011
Posts: 7

PostPosted: Tue Mar 01, 2011 6:42 pm Reply with quote Back to top

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
View user's profile Send private message
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

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

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
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

PostPosted: Wed Mar 02, 2011 6:02 am Reply with quote Back to top

oops! the whole module needs an update. I will update it soon!!!
View user's profile Send private message
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

PostPosted: Wed Mar 02, 2011 6:32 am Reply with quote Back to top

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 unicornio on Wed Mar 02, 2011 6:39 am; edited 2 times in total
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

PostPosted: Wed Mar 02, 2011 6:35 am Reply with quote Back to top

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 to the forums!
View user's profile Send private message Send e-mail Visit poster's website
rhineus
New Member
New Member


Joined: Feb 22, 2011
Posts: 7

PostPosted: Wed Mar 02, 2011 11:05 am Reply with quote Back to top

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 to the forums!
Thx nuken... Take a look at it Smile

@unicornio thx for updating the poetry module. Where can I find the updated poetry module?
View user's profile Send private message
killing-hours
RavenNuke(tm) Development Team


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

PostPosted: Wed Mar 02, 2011 11:19 am Reply with quote Back to top

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?
View user's profile Send private message
rhineus
New Member
New Member


Joined: Feb 22, 2011
Posts: 7

PostPosted: Wed Mar 02, 2011 2:06 pm Reply with quote Back to top

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
View user's profile Send private message
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

PostPosted: Thu Mar 03, 2011 8:44 am Reply with quote Back to top

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 to the forums!


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

Enjoy guys! Wink
View user's profile Send private message
rhineus
New Member
New Member


Joined: Feb 22, 2011
Posts: 7

PostPosted: Thu Mar 03, 2011 3:13 pm Reply with quote Back to top

Thx unicornio Smile

It worked! lol Just have to upload it and import the sql file... If everything was this easy lol
View user's profile Send private message
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

PostPosted: Fri Mar 04, 2011 1:29 am Reply with quote Back to top

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.
View user's profile Send private message
killing-hours
RavenNuke(tm) Development Team


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

PostPosted: Fri Mar 04, 2011 2:29 pm Reply with quote Back to top

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum