Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion
Author Message
pan
Involved
Involved



Joined: Jul 25, 2006
Posts: 354

PostPosted: Mon Sep 29, 2008 5:18 pm Reply with quote

I have looked all over the place and I can't work out how to subscribe to my own websites newsletter..

You're not subscribed to our Newsletter

User NOT Subscribed



Where and how do I set this up and subscribe to it?!?!


Last edited by pan on Mon Sep 29, 2008 9:54 pm; edited 1 time in total 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Sep 29, 2008 6:29 pm Reply with quote

Should be a "Receive Newsletter by Email?" in the Your_Account Your Info

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
pan







PostPosted: Mon Sep 29, 2008 7:21 pm Reply with quote

I tick that radio button and click save, but when I check I'm still not subscribed.

Also when I check back in it's auto'd back to undone again...

wtf? Do I have to admin enable something somewhere?
 
pan







PostPosted: Mon Sep 29, 2008 9:55 pm Reply with quote

so why is it unticking itself?
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Sep 30, 2008 3:32 am Reply with quote

Please can you turn on error reporting in the config.php file and then report back.
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Sep 30, 2008 6:23 am Reply with quote

pan, two things:

1) What version of *nuke are you really using here.

2) Would you please tone down the use of "wtf?". Is it really necessary? No. It adds nothing to the discussion. Thanks.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
pan







PostPosted: Tue Sep 30, 2008 4:50 pm Reply with quote

1) I have the latest ravennuke

2) sigh
 
montego







PostPosted: Tue Sep 30, 2008 5:53 pm Reply with quote

Regarding 1), I am able to reproduce this in one of my 2.20.01 installations and I see that if I update it twice, the second time it "sticks". The good news is that this is fixed in the upcoming 2.30.00 release (due out in a few weeks), but the flip-side bad news is I cannot just give you the new code because it is a completely different Your Account system, including table mods and new tables. We'll have to see if we can find a quick fix for this and get back to you.

Regarding 2), now that wasn't so hard was it? Laughing Wink
 
pan







PostPosted: Wed Oct 01, 2008 5:46 pm Reply with quote

lol..


ok well it's kind of weird.

The only thing that I might think is stopping me is the fact that the nick i use is a site admin (not logged in as admin) and that might stop me from 'subscribing' as i should already get it as admin


otherwise i don't know
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Wed Oct 01, 2008 6:09 pm Reply with quote

The user / nick name shouldn't impact your ability to save a user profile setting. Have you tried using phpMyAdmin to force the setting?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
pan







PostPosted: Wed Oct 01, 2008 6:15 pm Reply with quote

I didn't mean what nick, i just mean that in the nuke admin settings the user is set as a full website admin (but not LOGGED IN as admin)
 
pan







PostPosted: Wed Oct 01, 2008 6:19 pm Reply with quote

jakec wrote:
Please can you turn on error reporting in the config.php file and then report back.


how do i check where the errors are?
 
kguske







PostPosted: Wed Oct 01, 2008 6:24 pm Reply with quote

Right - the site admin login is separate from the user login, after which you should be able to change the settings.

Error reporting, at least via config.php display_errors setting, causes the errors to be displayed with the page, so you'll see them as they occur.
 
pan







PostPosted: Wed Oct 01, 2008 6:25 pm Reply with quote

nothing showed up

I did see this in config though

Code:
$subscription_url = '';


What do I put there?
 
kguske







PostPosted: Wed Oct 01, 2008 6:27 pm Reply with quote

Nothing. That isn't related to whether or not you can edit your profile.

Are other changes saved?
 
pan







PostPosted: Wed Oct 01, 2008 6:28 pm Reply with quote

Everything else works except for this

How can I view if other people have signed up to be subscribed without a problem?

That way i might determine whether its just me or everyone
 
kguske







PostPosted: Wed Oct 01, 2008 6:34 pm Reply with quote

So you can save other attributes, just not the newsletter flag? I would check phpMyAdmin to see if it could be changed there and then if it is correctly displayed in profile.

If so, there is something wrong with the code - what version of Nuke are you using?
 
pan







PostPosted: Wed Oct 01, 2008 6:39 pm Reply with quote

pan wrote:
1) I have the latest ravennuke


server has PHP version 5.2.6


and WHAT do i check in phpmyadmin?

and how do i check if other users have signed up to the newsletter
 
pan







PostPosted: Wed Oct 01, 2008 6:45 pm Reply with quote

ive just done some testing

it looks like none of the changes save in there :s


i tried to tick from no to yes on 'Always notify me of replies:'

clicked save and when i went back in it was on no still
 
kguske







PostPosted: Wed Oct 01, 2008 6:46 pm Reply with quote

I'd start with the nuke_users (your prefix might be different than nuke) table, and look at the values of the newsletter field / attribute. This will show you if others have signed up for the newsletter.

Then, I'd use phpMyAdmin to change the value for your account, then go back to see if it shows you as subscribed.
 
kguske







PostPosted: Wed Oct 01, 2008 6:48 pm Reply with quote

Now we're getting somewhere! Sounds like your table structure doesn't match what the program is expecting. Can you list the fields in your nuke_users table (you can see that in phpMyAdmin, too).
 
pan







PostPosted: Wed Oct 01, 2008 6:48 pm Reply with quote

how the hell do i do that?

i found nuke users and i found newsletter in that but what now?
 
pan







PostPosted: Wed Oct 01, 2008 6:54 pm Reply with quote

Code:
Field     Type     Collation     Attributes     Null     Default     Extra     Action

   user_id    int(11)          No       auto_increment    Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   name    varchar(60)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   username    varchar(25)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_email    varchar(255)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   femail    varchar(255)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_website    varchar(255)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_avatar    varchar(255)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_regdate    varchar(20)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_icq    varchar(15)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_occ    varchar(100)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_from    varchar(100)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_interests    varchar(150)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_sig    varchar(255)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_viewemail    tinyint(2)          Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_theme    int(3)          Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_aim    varchar(18)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_yim    varchar(25)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_msnm    varchar(25)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_password    varchar(40)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   storynum    tinyint(4)          No    10       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   umode    varchar(10)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   uorder    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   thold    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   noscore    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   bio    tinytext    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   ublockon    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   ublock    tinytext    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   theme    varchar(255)    latin1_swedish_ci       No          Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   commentmax    int(11)          No    4096       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   counter    int(11)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   newsletter    int(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_posts    int(10)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_attachsig    int(2)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_rank    int(10)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_level    int(10)          No    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   broadcast    tinyint(1)          No    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   popmeson    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_active    tinyint(1)          Yes    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_session_time    int(11)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_session_page    smallint(5)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_lastvisit    int(11)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_timezone    tinyint(4)          No    10       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_style    tinyint(4)          Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_lang    varchar(255)    latin1_swedish_ci       No    english       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_dateformat    varchar(14)    latin1_swedish_ci       No    D M d, Y g:i a       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_new_privmsg    smallint(5)       UNSIGNED    No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_unread_privmsg    smallint(5)       UNSIGNED    No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_last_privmsg    int(11)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_emailtime    int(11)          Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_allowhtml    tinyint(1)          Yes    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_allowbbcode    tinyint(1)          Yes    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_allowsmile    tinyint(1)          Yes    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_allowavatar    tinyint(1)          No    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_allow_pm    tinyint(1)          No    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_allow_viewonline    tinyint(1)          No    1       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_notify    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_notify_pm    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_popup_pm    tinyint(1)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_avatar_type    tinyint(4)          No    3       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_sig_bbcode_uid    varchar(10)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_actkey    varchar(32)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_newpasswd    varchar(32)    latin1_swedish_ci       Yes    NULL       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   points    int(10)          Yes    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   last_ip    varchar(15)    latin1_swedish_ci       No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_login_tries    smallint(5)       UNSIGNED    No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext
   user_last_login_try    int(11)          No    0       Browse distinct values    Change    Drop    Primary    Unique    Index    Fulltext


Last edited by pan on Wed Oct 01, 2008 7:10 pm; edited 2 times in total 
kguske







PostPosted: Wed Oct 01, 2008 6:57 pm Reply with quote

You're in phpMyAdmin, if you click on the nuke_users table on the left, by default, it should show you the second tab: Structure. This is the list of fields / attributes.
 
pan







PostPosted: Wed Oct 01, 2008 7:11 pm Reply with quote

is that what u needed?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion

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 ©