php forum
php mysql forum
php mysql smarty
 
Topic Options
#247095 - 05/20/03 04:00 PM Loosing custom settings in editbasic & editdisplay
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Hi,<br /><br />The IIP section is probably the best forum to post this in, as it affects what I am doing with IIP & the sidebar more than other mods <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I have several custom settings defined within ubbt.inc.php - these alter depending upon the group the member belongs to.<br /><br />However, when editbasic & editdisplay are open, the custom links are not recognised - editemail recognises them though.<br /><br />This is being caused by (I think)<br /><br /> $user = $userob -> authenticate("U_Groups");<br /><br />being in editemail.php, but <br /><br />$user = $userob -> authenticate();<br /><br />in the other two. <br /><br />Is there a reason for this - or is this a bug? This is also true of the admin section, but that is not so critical.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#247096 - 05/20/03 04:12 PM Re: Loosing custom settings in editbasic & editdisplay [Re: Gorlum]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I think U_Groups is already part of the standard authenticate() function and doesn't really need to be included. I could be wrong - whenever I'm not sure - I usually add the field into the authenticate function. I've never seen harm in doing it twice. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247097 - 05/20/03 04:16 PM Re: Loosing custom settings in editbasic & editdisplay [Re: Daine]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
U_Groups is not a standard value of the authenticate function.<br />Ian, can you specify which files you altered and where you have added your values to the ubbt.inc.php?
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#247098 - 05/20/03 04:23 PM Re: Loosing custom settings in editbasic & editdisplay [Re: Gorlum]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Add U_Groups to the other two's authentication call. As Astaran stated the U_Group field is not added automatically to authentication calls. If the two pages in question don't request this field then they will not know what groups the user belongs to. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#247099 - 05/20/03 04:42 PM Re: Loosing custom settings in editbasic & editdisplay [Re: sjsaunders]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Great thanks - the two links are based around groups, and I added it directly after the adminlink is defined - so there is no harm in adding it.<br /><br /><img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks