Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
zzb
Newbie
Newbie



Joined: Aug 08, 2005
Posts: 6

PostPosted: Mon Aug 08, 2005 8:02 pm Reply with quote

Wonder if anyone has any success porting HTML Newsletter over to the Nuke 7.6 Platinum platform? I installed fine... I used to use it on Nuke 7.5 patched and 7.6 patched. but for some reason under the create newsletter screen I don't see any preview, test or submit buttons. Instead the last block displayed is :

Sponsors

Unable to get banner information.

That's it.... I recall there was a preview or a test for admin only... Any ideas what could be going on??

Note from Admin: I moved this post from the "Nuke Hacks" forum to this new Forum to address general questions regarding the HTML Newsletter
 
View user's profile Send private message Send e-mail
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Aug 08, 2005 11:47 pm Reply with quote

zzb wrote:
Wonder if anyone has any success porting HTML Newsletter over to the Nuke 7.6 Platinum platform? I installed fine... I used to use it on Nuke 7.5 patched and 7.6 patched. but for some reason under the create newsletter screen I don't see any preview, test or submit buttons. Instead the last block displayed is :

Sponsors

Unable to get banner information.

That's it.... I recall there was a preview or a test for admin only... Any ideas what could be going on??


I have heard of Nuke Platinum, but have never reviewed it. Is this a fork of Nuke or is this a version of Nuke with a bunch of add-ons? If it is the former (fork), I can't help you. If it is the latter, then it must have a different banner system.

Within the script NW_HNL_Admin.php, you could try the following:

Find the following:

Code:

/************************************************************************
* Display options list for Site Sponsors
************************************************************************/
opentable();
echo "<strong>". _HNLSPONSORS ."</strong>\n"
."<br><br>\n";
$sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner";
$result = $db->sql_query($sql) or die ("Unable to get banner information.");
while (list($bid, $imageurl, $clickurl, $alttext)=$db->sql_fetchrow($result)) {
   echo "<INPUT TYPE=radio NAME=\"banner\" VALUE=\"$bid\"";
   if ($_POST['banner'] == $bid){
      echo " CHECKED";
   }
   echo ">\n"
   ."<a href=\"$clickurl\"><img src=\"$imageurl\" alt=\"$alttext\"></a><br><br>\n";
}
closetable();
echo "<br>";


You could try to comment out every line starting with opentable() and ending with the last echo. This might get you beyond the error which is stopping the script (I will have to add this as a Bug Report too to address continuing on if the banner system is different than the base nuke). Of course, you will not have the ability to have banners show up in the newsletter.

No guarantees this will work. Please let me know if it does. Also, can you please direct me to where you got the Nuke Platinum download?

Thanks,
montego

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
zzb
Newbie
Newbie



Joined: Aug 08, 2005
Posts: 6

PostPosted: Tue Aug 09, 2005 12:09 am Reply with quote

Excellent my friend.... !

That fixed it. Getting me to the right file will help me see where the code conflict is. I commented it out so the scrip finishes ok. I will beta test this and be sure it is working... then see if I can't patch it for Nuke Platinum.
Nuke Platinum runs on a Nuke 7.6 "engine". It is chatserv patched and comes with a number of modules. I recognize you are working on another rev of HTML Newsletter. You might want to consider a version for PNP as it has become fairly popular.

Here are two links to check out if you are interested:

http://www.platinummods.com/ (These folks have taken over support )

http://www.platinumthemes.com (These folks have ported over 80 themes)
Fundametally the folks above believe in version 7.6 as the most stable platform. I find aside from the Themes the code is not too buggered up!

They have a number of mods, blocks and addons but they are sorely lacking in a good HTML Newsletter module.

Thanks for the help.... if I sort out the banners I will let you know... Meanwhile the script appears to be running to completion. Tnx == zzb
 
View user's profile Send private message Send e-mail
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Aug 09, 2005 9:55 pm Reply with quote

Most excellent. Thanks for the links. I am working on another project right now, but should be able to start on the next 1.3 version in about a month. Unfortunately I must single-thread things. Not enough time.

Regards,
montego

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
zzb
Newbie
Newbie



Joined: Aug 08, 2005
Posts: 6

PostPosted: Tue Aug 09, 2005 10:40 pm Reply with quote

Yo --- your donation module is locked out to only admin. Just thought I's let you know. I wanted to send you a buck or two.
 
View user's profile Send private message Send e-mail
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Aug 10, 2005 9:15 am Reply with quote

zzb,

Thanks for letting me know!!! It should be working now and thank you in advance for any support that you can give.

Regards,
Rob

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch