php forum
php mysql forum
php mysql smarty
 
Page 4 of 5 < 1 2 3 4 5 >
Topic Options
#199427 - 04/26/05 02:21 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas

   Re: [6.x] Album.pl - UBB-Integrated Photo Album to Del.icio.us Add to del.icio.us
  Digg Re: [6.x] Album.pl - UBB-Integrated Photo Album Digg it
Any ideas yet Allen..? smile

Top
#199428 - 04/26/05 09:27 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Do you allow members avatars?
_________________________
- Allen wavey
- What Drives You?

Top
#199429 - 04/26/05 09:38 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
And are you using any of your custom profile fields yet?
_________________________
- Allen wavey
- What Drives You?

Top
#199430 - 04/27/05 09:01 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
NO to both questions, but in order to get it to function as I have it now, I have had to use the {Custom Title} firld in the user profile.

What I currently have setup for the 3 Admins, is the following:
Code:
Administrator
[URL=http://gallery.gr-outdoors.com/cgi-bin/album.pl?album=00000001]<IMG SRC="../images/camera.gif" BORDER=0>[/URL]
While I don't mind having to go the manual route, I don't like the fact that it requires an overwrite of the actual user title and then dumps the 'camera.gif' icon under the Name & Title sections.

Ideally, it would be setup so that ANY member having permissions setup for Forum #9, would automatically get the camera icom and a link to their photo galleries.

Is this making any sense..?

Top
#199431 - 04/27/05 09:22 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
it is but where do you want the camera icon if not under the user title?
_________________________
- Allen wavey
- What Drives You?

Top
#199432 - 04/27/05 04:18 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
I want the camera icon to be in the same row as the others, and I really don't want the {TITLE} to have to be overwritten, if at all possible... Basically, I would like it to be setup the same as if a member lists a website, where the WEB icon automatically gets plugged into that members' data, along with the URL. the only difference being, is that rather than the WEB icon, a CAMERA is used, and the URL would always point to the photo gallery, with the specific member number being appended to the end (as shown in the code above).

PROFILE &#0124;&#0124; CAMERA &#0124;&#0124; WEB &#0124;&#0124; EMAIL &#0124;&#0124; PM &#0124;&#0124; EDIT &#0124;&#0124; QUOTE

Top
#199433 - 04/27/05 05:59 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
do-able but a little time consuming - if my wife lets me use the computer much this week I'll try to knock it out for you. wink Wouldn't be a bad modification for others too, I'll use the 4th custom profile field.
_________________________
- Allen wavey
- What Drives You?

Top
#199434 - 04/27/05 11:11 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
OK, thank Melanie, try this (untested):

http://www.ubbdev.com/ubb/upload/00000494/gallery_links.txt

There should be a checkbox in control panel: Member Manage: Permissions tab

to check if the member has a gallery

Should work then.
_________________________
- Allen wavey
- What Drives You?

Top
#199435 - 04/28/05 08:44 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Okay, I hacked in Melanie's code, but get an errors when attempting to gain access to the member data from the CP.

This was the debugging report:

Quote:
quote:
StandardHTML stack trace:
at /home/groutdoors/www/forums/noncgi/Templates/cp2_common.pl line 96

main::StandardHTML called at /home/groutdoors/www/forums/noncgi/Templates/cp2_common.pl line 131

main::StandardHTML2() called at /home/groutdoors/www/forums/cgi-bin/cp2_lib.cgi line 756

main::CatchException() called at cp.cgi line 499

main::__ANON__() called at Modules/Error.pm line 303

eval {...} called at Modules/Error.pm line 294

Error::subs::run_clauses() called at Modules/Error.pm line 386

Error::subs::try() called at cp.cgi line 500


--------------------------------------------------------------------------------
Extra information:

Fatal error:

(RequireVars) /home/groutdoors/www/forums/noncgi/Templates/cp2_editprofile.pl: syntax error at /home/groutdoors/www/forums/noncgi/Templates/cp2_editprofile.pl line 545, near "?,"
Compilation failed in require at /home/groutdoors/www/forums/cgi-bin/ubb_lib.cgi line 952.

Top
#199436 - 04/28/05 09:18 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
ok, it looks like I have a syntax error, can you tell me what's on line 545?
_________________________
- Allen wavey
- What Drives You?

Top
#199437 - 04/28/05 09:21 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
It's probaby this:

title => Does user have photo gallery?,

change it to:

title => "Does user have photo gallery?",

See if that doesn't cure it smile
_________________________
- Allen wavey
- What Drives You?

Top
#199438 - 04/28/05 09:25 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
and that was my code, Melanie just gave me time to write it wink
_________________________
- Allen wavey
- What Drives You?

Top
#199439 - 04/28/05 10:00 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Okay, I can get back into the members' data now, and I do see the checkbox, but there are still problems...

The checkbox default was/is 'ON', so I changed the value from '1' to '0', but that didn't help.

Also, the CAMERA.GIF icon doesn't show up where it should -- or at all for that matter, unless manually placed like before.

When viewing the forums (not the CP), nothing seems to have changed, even after clearing cache and rebuilding the index files.

Any other thoughts..?

Top
#199440 - 04/28/05 10:12 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Quote:
Originally posted by AllenAyres:

and that was my code, Melanie just gave me time to write it wink

Sorry btw... The way you worded the post initially, I thought Melanie was one of the a code jockys at UBB that may have dug into this.

Top
#199441 - 04/28/05 10:24 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
it won't show up unless profile[19] has a 1 in it, I need to default it to off tho then have it checked to add it in.
_________________________
- Allen wavey
- What Drives You?

Top
#199442 - 04/28/05 10:45 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
change this from:

value => 1,

to:

value => 0,

in that initial section
_________________________
- Allen wavey
- What Drives You?

Top
#199443 - 04/28/05 11:10 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
I tried that already, as stated 2 posts prior... frown

Could it possibly be something in the following line..?

checked => $profile[19] ? 0 : 1,

Top
#199444 - 04/28/05 11:15 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Just tried again... No matter what I do, the checkbox stays checked, yet the camera/link never appear like they should. frown

Top
#199445 - 04/28/05 11:19 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
The only thing that I can differentiate between being able to enable POLLS and this new GALLERY data that we've added, is that the POLLS (along with everything else) is Wordletized... ???

I tried adding $gallery into the Wordlets2.cgi, but that still didn't do anything , so this kinda has me wondering if any of of other VARS files need to be edited, or if $profile[19] somehow needs to be identified elsewhere..?

Top
#199446 - 04/28/05 11:36 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
have you tried submitting the profile? It stays checked because we default it to checked, doesn't mean there's actually a '1' in the custom profile 4 ( $user_profile[19] ) line of their profile - the camera icon will not show up unless the 1 is there. Submit the profile as changed then view the file and tell me if a 1 is on line #20.

I'm at work and do not have access to a site to work on (can't do it anyway until after work, maybe tonight or tomorrow night).
_________________________
- Allen wavey
- What Drives You?

Top
Page 4 of 5 < 1 2 3 4 5 >


Moderator:  Charles, Gizmo 
Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 8
tackaberry 7
FREAK1 6
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks