Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Modifications    Mod Requests and Support  ›  ShoutBox v4.0 Support Moderators: 10 Series Support Team
Users Browsing Forum
No Members and 1 Guests

ShoutBox v4.0 Support  This thread currently has 2,105 views. Print
2 Pages 1 2 » Recommend Thread
Apollo
October 26, 2005, 7:58pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 208
Posts Per Day: 0.16
Time Online: 1 days 23 hours 18 minutes
Flushed with success in Chat, I thought I'd go back and try the Shoutbox. Failed at this a while back, but with pathing sorted now, all I had to do was remember to use the correct binary and ascii settings for the ftp.

It's in and working as far as I can see, with the following notes:

In admin.php I found I had to edit:

Code
if ($username != "Admin") {
to
if ($username != "admin") {

Because, although I login as Admin to the forum, Shoutbox posts my shouts as admin, (and non-Admin Apollo as apollo) and refuses me access to the Shout Admin functions.

So, it seems to be converting any upper-case letters in the user names from upper to lower-case.

Also, although I have to be Admin to gain access to the Shout Admin functions (Apollo is correctly refused), the password settings in config,pl has no effect, and is not asked for after I hit the Admin button. It appears to be redundant although setting it is included in the Install instructions.
Logged Offline
Site Site Private Message Private message
Martin
October 27, 2005, 2:05am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
The upper-case letters are stripped so the profanity filter can work without having to have a huge database of every combination of every bad word.

You can access the Admin of the shoutbox as apollo if you change:

Code
if ($username != "admin") {

to

if ($username != "apollo") {



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 1 - 21
Nilboglin
October 27, 2005, 12:21pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 246
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 2 days 23 hours 11 minutes
Location: Earth
Age: 33
Greetings
I want to upgrade to version 4.
I tried a test uninstal of 3 and got lots of red text "Code not in source"

Isn't it possible for me to just ftp the new files over to the chat folder to upgrade?


www.shamrock-net.com
Good Times, Good Friends, Good Brew
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 2 - 21
Martin
October 27, 2005, 12:33pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
Should be OK as long as to run through and set the variables in config.php as per the old one.



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 3 - 21
Nilboglin
October 27, 2005, 1:42pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 246
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 2 days 23 hours 11 minutes
Location: Earth
Age: 33
Ok did that and the shout looks fine, appears to be upgraded. Although the new one does not recognize me as admin.

Code
<?
if ($username != "Admin") {
?>


This is the command as it is in admin.php
Does it need to be lower case?
=admin
Or am I way off here?


www.shamrock-net.com
Good Times, Good Friends, Good Brew
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 4 - 21
Martin
October 27, 2005, 1:43pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
it needs to be admin, it's a typo.  You can set it to Nilboglin if you want access as you rather than admin.



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 5 - 21
Ryan
October 27, 2005, 3:13pm Report to Moderator Report to Moderator

Inactive Support Team
Posts: 1,799
Gender: Male
Posts Per Day: 1.13
Reputation: 85.00%
Reputation Score: +85 / -15
Time Online: 11 days 8 hours 2 minutes
Location: Ontario
Age: 29
If you want it for all Administrators, I think this will work:

Code
if($members{'Administrator',$username})


I'm not sure though coz the shoutbox is php




Read about Canada's Holocaust "Hidden from History" - http://www.ryanpaul.ca/canadas-holocaust/
Logged Offline
Site Site Private Message Private message YIM YIM Reply: 6 - 21
Nilboglin
October 28, 2005, 7:01am Report to Moderator Report to Moderator

E-Blah Member
Posts: 246
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 2 days 23 hours 11 minutes
Location: Earth
Age: 33
I tried using my user name Nilboglin wiith no luck.
I used admin and it worked.

if($members{'Administrator',$username})

how will that effect this string if I try it?


www.shamrock-net.com
Good Times, Good Friends, Good Brew
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 7 - 21
Martin
October 28, 2005, 8:33am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
Quoted Text
if($members{'Administrator',$username})


This won't work, it reads the info from the eblah cookie not $members

However, there is no reason why this shouldn't work:

if ($username != "nilboglin") {



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 8 - 21
Nilboglin
October 28, 2005, 9:34am Report to Moderator Report to Moderator

E-Blah Member
Posts: 246
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 2 days 23 hours 11 minutes
Location: Earth
Age: 33
ok lemme try it I did use uppercase N.


www.shamrock-net.com
Good Times, Good Friends, Good Brew
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 9 - 21
Nilboglin
October 28, 2005, 1:51pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 246
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 2 days 23 hours 11 minutes
Location: Earth
Age: 33
Unfortunately neither work upper or lower only lower case admin works.
This is fine, I am not picky.


www.shamrock-net.com
Good Times, Good Friends, Good Brew
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 10 - 21
Martin
October 28, 2005, 2:04pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
Is admin the login name and Nilgoblin the screenname?

Works for me, just changed 'admin' to 'tester' and got full access to the admin when logged in as tester.

Read the eblah cookie if it is Nilgoblin  (capital N) then set it to that.



Martin's Reputation: Increase

Revision History (1 edits)
Warlock  -  October 28, 2005, 2:09pm
Logged Offline
Site Site Private Message Private message Reply: 11 - 21
Apollo
October 28, 2005, 5:09pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 208
Posts Per Day: 0.16
Time Online: 1 days 23 hours 18 minutes
Are you sure about the captial N?

Recall that the shoutbox deals with everything in lower case, hence my problem above with Admin, needing the user name in the admin.php check to be carried out in all lower case.
Logged Offline
Site Site Private Message Private message Reply: 12 - 21
Nilboglin
November 1, 2005, 10:44am Report to Moderator Report to Moderator

E-Blah Member
Posts: 246
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 2 days 23 hours 11 minutes
Location: Earth
Age: 33
I log in with Nilboglin, but this is the original admin account setup with eblah.
I just changed the screen name.
I have just gone through and changed admin.php in all these ways/
Admin
Nilboglin
nilboglin
admin
The latter admin lower case is the only one that works. I am fine with this.
keep in mind I didn't un-install V3 and reinstall V4 as usual. I have other mods that interfere somehow with the code so all I did was overwrite the version 4 stuff into my phpshout folder. Maybe thats got something to do with it??


www.shamrock-net.com
Good Times, Good Friends, Good Brew

Revision History (1 edits)
Warlock  -  November 1, 2005, 10:45am
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 13 - 21
Martin
November 1, 2005, 12:26pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
When you are logged in, what does the eblah cookie say is your username?



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 14 - 21
2 Pages 1 2 » Recommend Thread
Print

E-Blah Community    Modifications    Mod Requests and Support  ›  ShoutBox v4.0 Support