Montego Scripts: Forums
 

 

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



Joined: Dec 09, 2006
Posts: 3

PostPosted: Sat Dec 09, 2006 6:21 pm Reply with quote

Great so far lads...

One problem though, everytime i try to send an email, i keep getting this message:

Newsletter Text: Required field must be given a value

Even thought i do have text in the newsletter text :S

When i go back and then click submit again, it works perfectly :S

Any ideas?
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 401

PostPosted: Sat Dec 09, 2006 9:03 pm Reply with quote

I can't say I have ever experienced this proble. Which browser are you using?
 
View user's profile Send private message
Jamz
Newbie
Newbie



Joined: Dec 09, 2006
Posts: 3

PostPosted: Thu Jan 18, 2007 7:27 pm Reply with quote

I am using internet explorer!
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1391

PostPosted: Thu Jan 18, 2007 9:59 pm Reply with quote

I have never seen this either. What nuke version are you using and are you using a javascript based WYSIWYG editor?

_________________
“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
Jamz
Newbie
Newbie



Joined: Dec 09, 2006
Posts: 3

PostPosted: Thu Feb 15, 2007 8:21 pm Reply with quote

I do have the editor
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1391

PostPosted: Thu Feb 15, 2007 8:32 pm Reply with quote

But, you still have not answered which PHP-Nuke version... Sad The HTML Newsletter module was NOT designed to work with anything over 7.6, so that could be the problem.

Sorry... I have plans to try and correct that in the next version, but have not had the time to plan out that version, let alone code. Sad
 
View user's profile Send private message Visit poster's website
rikimaru
Newbie
Newbie



Joined: Feb 26, 2007
Posts: 7

PostPosted: Mon Feb 26, 2007 6:01 pm Reply with quote

i have the same problem , i can't send or preview any newsletter i create, it keeps telling me that error. I use phpnuke 7.9!
I saw i get the same error when trying to add a new category. It seems like the problem is with the text tiped anywhere like "description" or something like that. "THE FOLLOWING FIELDS FAILED VALIDATION:

Category Description: Required field must be given a value"

So there is no way i can repair it ? if not, what newsletter do you suggest for 7.9, if there are any, please i will appreciate it.
Thanks in advance
 
View user's profile Send private message
rikimaru
Newbie
Newbie



Joined: Feb 26, 2007
Posts: 7

PostPosted: Mon Feb 26, 2007 6:10 pm Reply with quote

Ok never mind i figure it out (by luck ) Wink
So the things you have to do if you get the above error:
Tipe your text or html codes or whatever in the newsletter text and then select it all with your mouse and click on the "cleanup messy codes". Try to send, if you still get the error then click back and do the same thing, the second time will work for sure Wink
That should do it, at least it worked for me...

I still have a question:
Is it possible to make the newsletter read info from other forum module than the one pre-installed in phpnuke ?
I ask this becouse i don't use phpbb from phpnuke i have splatt forums installed and i want to know what should i need to change to make the newsletter read the content from that forum. If you guys need some info, like whats the database name, or something like that please let me know...
Ciao
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1391

PostPosted: Tue Feb 27, 2007 12:10 am Reply with quote

Quote:
Tipe your text or html codes or whatever in the newsletter text and then select it all with your mouse and click on the "cleanup messy codes". Try to send, if you still get the error then click back and do the same thing, the second time will work for sure


Yeah, like I said above, I do not yet support versions 7.7 and above. The way the advanced editor was implemented in those releases FB basically stripped out all the security checks. I still struggle with the thought of supporting it to be honest.

Regarding your quesion about support another forum tool, I am sure it is possible, but I would not be of much help to you. I use only phpBB and have no plans on supporting any other forum tools since they do not come with PHP-Nuke.

However, with that said, the script that you would need to customize is this one here:

Code:
modules\HTML_Newsletter\admin\admin_make_nls.php


You would need to change this code around this line for the statistics:

Code:
   //Total Amount of Forum Topics


And here for the actually pull and display of the latest posts:

Code:
************************************************************************
* Build the Latest X Forum Posts - to replace the {FORUMS} tag
************************************************************************/

The problem is that nuke's database abstraction layer cannot be used unless your Splatt forum tables are inside the same database as your nuke database. You would have to re-write the calls in these two places to go against the spatt database using native mySQL calls.

Sorry, just not something I have time to do.

_________________
“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
rikimaru
Newbie
Newbie



Joined: Feb 26, 2007
Posts: 7

PostPosted: Fri Mar 02, 2007 5:45 pm Reply with quote

heh, its ok...
I have the splatt forums database in the same place as the nuke database.
If i was good at programming i'd give it a try, but maybe i'll just mess it up, and i'm sure i don't want that Wink
Good luck!
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1391

PostPosted: Sat Mar 03, 2007 11:14 am Reply with quote

If it is the same database, it should be much, much easier. But, you would have to figure out the table differences. So, knowing SQL, even just a little, would be important. But, beyond that, maybe give it a try?

_________________
“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-bunchlinear-bunch