|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Brett, I could change numbers, but if you ask: 46 and 55 Thank you.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
[code][/code]Replace it where the other one was in cp_common.pl because i noticed in your file of cp_common the member numbers were still 0000000.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
wobble wobble, brett got ya! lol... Brett is good at code fixing, he assists me all the time ...
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
I know, I noticed that just after I posted, but then I went right back fixed it and tried again, so what you saw was the old.pl file but in my bins the file was already edited. Even after I input the right numbers it still didnt work! Maaan I need this so badly, I have no time in the morning to get the news in...
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Well the instructions did say to change the "00000000" several times but I'm still not sure why you're having problems. Just to make sure I tested it on other CP pages and it worked. The only way I was able to replicate your problem was when I stripped out the "Moderator" (elsif) from cp_common.pl...But I don't think that is your problem.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Well, Felix 10, did say something about only seeing the Modification worldets(which is odd) meaning the people can get in, in turn meaning it's just a cp_common problem.
The only way i see it, if the user numbers are initalized correctly, is the the var admin_number is not set/correct. Felix 10, are you sure you have the 'var admin_number = "$admin_number";' above the if statements in the javascript in that file?
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Brett, thanks for looking into this for me. Here, un update: var admin_number = "$admin_number"; is where your mode text asks for, after: var userStatus = "$status"; I dont see any "if" statements there. where exactly you wanted it? [/code]I also moved the curly bracket a little from where the file calls from : </pre></div></div>like this:<br> [code] but I dont think it makes a difference
However, I installed everything again and again, same thing all over again. these are the errors: 1. Admin doesn not have the News Fader setting anymore VIEW 1 2. member 00000046 doesnt have have the News Fader setting VIEW 2
I will leave these installed for you to check:]
member 00000046: login: test pass: test
Your .txt FILE
Please tell me what you requier me to do in order to get to the bottom of this annoying situation.
Thank you guys and Prime, congratulations for the spotwinning
Felix
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Thanks. In the instructions I made the mistake of finding and deleting the first NewsFader document in cp_common.pl...You will need both. Even so I think you made the adjustment and yet it didn't work. The right bracket won't matter where you have it placed as long as it's within that row above "if". I'm wondering if the "if" because it's touching "(" it will make a difference? I doubt it but here is the instructions revised: Click Here See if that works.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Prime, update with the new file. Now the Admin has hid option in editing Newsfader in CP but the the asigned users still dont have the option. See THIS Getting there anyway Thank you, Felix
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...It might be a problem in cp_lib.cgi since when refreshing while inside CP as the selected member will show up in error. I'll check again.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Sorry Felix 10 for taking so long to reply Ok, to get ahandle on what works and what isn't, can you try something out? Can you selected members go to cp.cgi?ubb=vars_news_fader after logging in? If not, this is a cp.cgi problem. But i'm more concerned as it being a cp_common.pl. The picture diplicted wordlets mods in the primary box which isn't right. Was that blank option the news fader? (It could also mean something wrong installed with the mod wordlets)? If all else fails and the option is still blank, you can try replaceing the $vars_wordlets_mods{news_fader....} in cp_common with "News Fader Settings" or something like that. As for this refreshing business, i'm putting my money into a cookie problem, not the software. But if others get this problem, then a closer look at the code will need to happen.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
One more thing I've noticed. The member asigned as NewsFader editor upon the change I am trying to do with all your suggestion looses the Avatar function and the link for the avatar in his profile switches to My picture. And, the member doesnt show on line, only shows as a guest you cant eveen IM him. This is weird!
thanks felix
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...Then it could be a cookie issue here. For now Felix don't use this mod until it gets sorted. I still think you should give certain people moderator status then create a new forum BUT turn it off in the CP.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
quote: Originally posted by PrimeTime: I still think you should give certain people moderator status then create a new forum BUT turn it off in the CP. I did, but Prime, not even a Moderator can get into NewsFader Settings !!!! This is the whole thing here! I dont know if it supposed to be like this, but a Mod on my site only get access to the Forum Settings in the Primary Settings!. Is this normal? Please reply, I need someone to put news up for me every day!
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hehe...Well probably that's how the hack was designed, only allowing Admins to edit the News Fader. I think however, if you were to set up the NewsFader in cp_common.pl the same way as the Forum Settings the moderators should have CP access and update the news.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,574
Posts293,926
Members13,850
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|