php forum
php mysql forum
php mysql smarty
 
Page 3 of 5 < 1 2 3 4 5 >
Topic Options
#199407 - 11/13/03 08:04 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
PhillipBurum Offline
Member

Registered: 11/02/03
Posts: 155
This is what my files look like...

Code:
	# Forum Home

	#Album
	push(@items, qq(<a href="$vars_config{CGIURL}/album.pl" 	

title="$vars_wordlets_mods{album_link}">$vars_wordlets_mods{album_link}</a>));


	push(@items, qq(<a href="$ULTIMATEBB" title="$vars_wordlets{forum_acronym}">$vars_wordlets{forum_home_link}</a>));  
and

Code:
 
%vars_wordlets_mods = (
	q!album_link!		=> q!Album!,
	q!QuickReplyShow!	=> q!Show QuickReply Box?!,
	q!QuickReply!		=> q!QuickReply!,
	q!QRSmilies!		=> q! Disable Smilies!,
	q!ShowSig!		=> q! Show Signature?!,
	q!QRWQuote!		=> q!QuickReply w/ Quote!,
	q!QRMessage!		=> q!Message:!,
	q!points_system!	=> q!Member's Points!,
	q!points_link1!		=> q!!,
	q!points_link2!		=> q!!,
	q!mod_wordlets! 	=> q!Modifications Wordlets!,
  );
1;
 
Is this what you are talking about? I haven't had any problems installing any of the other upgrades/mods, but the #Forum didn't look right. Looks like I should have added to under the whole block. And the link to my album isn't showing up.

Please excuse my ignorance, and thank you for the help.
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=phillip.burum&s=1[/img]

Top
#199408 - 11/13/03 08:18 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I just visited your board and the link to the album works perfectly. Did you clear the cache?
_________________________
Code monkey like Fritos

Top
#199409 - 11/22/03 08:38 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Does anybody know what do I modify to get the HOME button to port me home to my /ultimatebb.cgi and how do I add an Album button to get me back to album.pl in line with the other links?

Al?

Thank you

Felix
http://romanianational.com/cgi-bin/album.pl

Top
#199410 - 11/23/03 09:13 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Ooops, sorry guys. I've missed this thread for a while...

Allen: I see it's still broken here... Looks like "membersdir" may be set incorrectly in album.cfg. If you want, I can take a look at it to see if I can nail down the problem. (Would need your album admin code...)

PhillipBurum: Looks like you've got it, it appears to be working now...

Felix: Modifying the header buttons is actually pretty easy, it's all contained in album_header.tml. All the *.tml files are basically HTML with special dynamic ####TAGS#### embedded that album.pl uses. In this case, you'd be looking for a line that looks something like this:

Code:
<a href="####ALBUMPROG####" class="optionslink"><img class="button" src="####CONFIG=home_button####" alt="" /></a>
And you could change it to:

Code:
<a href="http://www.romanianational.com/cgi-bin/ultimatebb.cgi" class="optionslink"><img class="button" src="####CONFIG=home_button####" alt="" /></a>
I hope that helps.

Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
#199411 - 11/23/03 09:22 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Mike, I tried that first and didnt work, probably because I was trying to add one more button in the album.cfg. and swap the destination of the buttons? I dont know.

Hoever, after half a day a came up with this and it works:

Code:
 ##################
#  in album.cfg  #
##################   

find:
******

# Home button
home_button=thmb_album_home.gif


replace with:
**************

# Album button
album_button=thmb_album_home.gif



#########################
#  in Photo_Album.css   #
#########################   

find:
******

/* Home, Search, Random, Upload, Recent Uploads */

replace with:
**************

/* Home, Album, Search, Random, Upload, Recent Uploads */


#########################
#  in album_header.tml  #
#########################   

find:
****** 	
	          <a href="####ALBUMPROG####" class="optionslink"><img class="button" src="####CONFIG=home_button####" alt="" /></a>

replace with:
*************                  	   
                  <a href="http://YOUR URL"><img class="button" src="http://YOUR SERVER/img/thmb_forum_home.gif" alt="" /></a>
                  <a href="####ALBUMPROG####" class="optionslink"><img class="button" src="####CONFIG=album_button####" alt="" /></a>



#######################################################################################
#                                                                                     #
#   MAKE SURE YOU CHANGE THE NAME OF THE ORIGINAL BUTTON "HOME" (thmb_album_home.gif) #
#   TO "thmb_forum_home.gif" and CREATE A NEW BUTTON "ALBUM" (thmb_album_home.gif)    #
#                                                                                     #
#######################################################################################
 
FELIX 
Thanks for replying
Felix

Top
#199412 - 11/28/03 05:14 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
autostream Offline
Member

Registered: 05/15/01
Posts: 55
how do i log out? I dont see a link. I never even logged in, it just had my name there?

Top
#199413 - 11/28/03 05:43 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
autostream Offline
Member

Registered: 05/15/01
Posts: 55
also error on line 541, but i didnt touch that line

autostream.com/cgi-bin/album.pl

Top
#199414 - 11/28/03 10:33 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Anybody tried to install ImageMagick into the Album? Sounds complicated.

http://www.imagemagick.net/

Top
#199415 - 11/29/03 02:51 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
autostream Offline
Member

Registered: 05/15/01
Posts: 55
still having problem with getting the style sheet to work. I stuck it everywhere and it wont work...?

Top
#199416 - 01/03/04 11:02 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Wow, these are all old problems - sorry for not checking here very often. Ilve seen both felix and autostream at my forums though, and I think their issues are resolved.

Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
#199417 - 03/24/04 01:52 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
After over 5 months of work, album.pl V6.4 has been released!

[ Download it here ]

For new users: install instructions
For existing users: upgrade instructions

Note that both processes have changed significantly in this release. V6.4 release notes follow:

V6.4

New Features

  • Upgrading is now possible through the album.pl configuration menu. (All existing settings are merged with the new album.cfg.clean file.)
  • The album.pl breakup begins! The main album.pl file has been split into album_admin.pm.
  • Added thumbnail fading. (Thanks MessageDJ!)
  • Added compatibility with Simple Machines Forum.
  • Setting "default_guests" to "all" prohibits all non-admins from uploading. (I.E. all regular authenticated users are treated as guests.)
  • Uses first thumbnail in an album as the album thumb, if there isn't already one.
  • New ####CODE=[command]#### tag allows you to insert Perl code into your templates. Useful for changing the way album.pl runs, based on local or global template files.
  • You can now use URLs like .../album.pl?random=1;ssi=2;photo_height=150 to specify a height or width for SSI images.
  • album.pl no longer fails to run when "optional" Perl packages are missing such as MD5 or CGI::Cookie.
  • Enhanced album_test.pl to provide "usage notes" for any Perl packages that are missing (to help assess the impact of missing modules).
  • Updated templates, which now include code to honour "textmenu" settings.
  • Admins can now upload files larger than the posted limit.
  • Converted all included images to PNG format and created new album/photo/movie icons.
  • You can now specify a file size for pic_resize upload resizing.
  • Thumbnail borders are now "smarter."
  • Added "All" in pages section to show all images on a single page.
  • Added "showall=x" option for recent uploads to show "x" most recent uploads (default is 20).
  • Users are now forced to select an album on upload, as there is no album selected by default (per_member_upload excluded).
  • Moved the form tags outside of the ####UPLOAD#### tag, to allow admins to insert custom variables by editing the templates. Be sure to update album_upload.tml accordingly.
  • Debug info now shows module name.


New Config Items

  • perl_gd: Allows the use of the Perl GD package to generate thumbnails. (Thanks to Daniel Hofverberg for the code!)
  • skipalbums: Allows you to define the name of directories to "hide." (I.E. directories matching this regular expression will not be displayed as albums.)
  • thumb_fading, fade_load, fade_to, fade_over, fade_out: Thumbnail fading settings.
  • representative_thumbnails: Uses the first thumbnail in an album as it's "representative" thumbnail.
  • allow_move: Allow/disallow users to move photos they upload.
  • allow_link: Allow/disallow users to link photos they upload.


Bug Fixes

  • Fixed bug with shrouded images not doing proper referer checks.
  • Fixed a bug with text menus and albums showing a &#0124;&#0124; inappropriately.
  • Fixed a bug where the user edit screen on the config screen would wreck auth_db.txt.
  • Fixed the way the "edit" menu works. The "stop" checkbox is now always shown, and uses on/off as the default depending on the context.
  • Quotes are now handled properly on the config screen.
  • Metacharaters in filenames no longer break ratings.
_________________________
Mike Bobbitt
PERL Stuff

Top
#199418 - 03/24/04 06:27 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Nice, the script is really getting sweet laugh
_________________________
- Allen wavey
- What Drives You?

Top
#199419 - 07/01/04 01:11 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
What would it take to add a small image inline with the |profile|www|email|pm|edit|quote| tags..?

I'm going to be supplying photo hosting space to paying members only, and the album.pl is located on a sub-domain. Currently, I have an image under the user name that points to their photo directory, but would much rather have it setup inline, and simply be able to manage it via a checkbox in the {PERMISSIONS} section in {MEMBER MANAGEMENT}.

PS: I'm running a new 6.7.1 board.

Top
#199420 - 09/13/04 11:56 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
It's been 6 months since the last release, so it's time! album.pl V6.5 has been released.

[ Download album.pl V6.5 ]

For new users: install instructions
For existing users: upgrade instructions

Please report any problems to the album.pl support forums . V6.5 release notes follow:

New Features (Mostly from J.J. Frister -- THANKS!)
  • Multiple "viewing" levels. Based on authentication type, but generally can specify "Anyone," "Member," or "Owner" at upload time. Only the specified users will be able to see the image.
  • Moving/Deleting links only moves/deletes the link, not the actual photo.
  • Views are now moved with the object
  • The following slideshow changes:
    <ul type="square">
  • Will go into slideshow mode even if popups are blocked via Mozilla, Firefox or ZoneAlarm settings -- if popups are blocked, the browser window is still the regular one, rather than the borderless one.
  • Returns you to the regular view of last photo seen in the slide show when you close the slideshow.
  • Degrades nicely if Java is disabled - same result as when popups are blocked.
  • Fits vertical photos into the screen height if you have ImageMagick installed
  • Uses the Photo_album.css settings for back-ground of the slideshow
  • Behaves the same way wether you start from album.pl?photo=... or from album.pl?slideshow=5;photo=...
  • Fullscreen slideshows no longer have a body margin.
  • Slideshow runs faster

</li>
[*]Added image=random and image=randthumb to display random photos/thumbnails directly (no HTML, just the image itself)
[*]Added the ability to rename the (system) file or directory when moving.
[*]Base script has been chopped into multiple modules.
[*]Added module path configuration variable.
[*]Can now handle JPEG 2000 (jp2) files.
  • If you view from a Windows platform, the site will ask you to install the Lurawave jp2 plugins.
  • If you view from a Linux platform, conversion back to jpg occurs on the fly, via ImageMajick.
  • jp2 files give me small storage requirements while maintaining image quality

</li></li></li>
[*]All thumbnails are png files
[*]Auto-size photo display for the current browser window.
[*]Option: Only some members can upload photos and add ratings
[*]Provide the option of storing login cookies permanently or only for the current session.
[*]Better phpbb cookie checking.
[*]Updated ratings/comments section to use the "ratings" style class.
[*]Put nav footer into a table
[*]Updated style color definitions
[*]Ratings cleaned up in css
[*]Made SMF cookie name a var
[*]Strip spaces from arrays in config
[*]Better updateComment checking
[*]Now Uses "title" instead of "alt"
[*]New german translation
[*]Added default error info when string table is not loaded
[*]Won't display the auto-size link/button unless ImageMagick is found.
[*]if photo_height or photo_width=auto are passed, default to small size if there's no ImageMagick
[*]Returns small size from getPhotoDimensions if there's no ImageMagick
[*]More phpBB defaults in album.cfg
[*]Made footers a table
[*]Messed with static stuff
[*]Frister's fixes for png thumbnails and SSI stuff
[*]Changed default_size to 0 (no resize) in album.cfg
[*]Added ####PATH####
[*]Added jp2 to imgexts in album.cfg
[*]Moved "allow edit/move/link" etc into the authentication section.</ul>
New Config Items
  • module_path: Location of album.pl module files.
  • @jp2exts: Valid extension(s) for JPEG 2000 files.
  • temp_loc : Filesystem path for storing JPEG 2000 files temporarily.
  • temp_web: Web location of temp_loc.
  • auto_button: Filename for new "auto" button.


Bug Fixes
  • Fixed problem where page was not always set right when viewing photos
  • Fixed double entry in notify file.
  • Fixed problem reading binary descriptions.txt.
  • Fixed nav footer to work in all browsers.
  • Fixed problem reading binary descriptions.txt.
  • Fixed nav footer to work in all browsers.
  • Fixed owner problem.
  • Fixed a bug related to view level when moving phots or albums.
  • Fixed jhead comments
  • Fixed breadcrumb function passing
  • Fixed link/move menu so it only displays when config'd to
  • Fixed tooptip when using jhead
  • Several JavaScript fixes.
_________________________
Mike Bobbitt
PERL Stuff

Top
#199421 - 09/13/04 11:58 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
tgreene, sorry I missed your post... All you'd have to do is edit album_header.tml which is basically straight HTML, and add in the HTML for the image(s) you want to see.

Hope that makes sense.
_________________________
Mike Bobbitt
PERL Stuff

Top
#199422 - 09/13/04 12:23 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Nice update Mike laugh
_________________________
- Allen wavey
- What Drives You?

Top
#199423 - 09/13/04 10:01 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Thanks Allen... good to be back here for a bit! smile
_________________________
Mike Bobbitt
PERL Stuff

Top
#199424 - 04/22/05 11:58 AM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Mike (or anyone)

I'm back to working on my site again, and am still trying to resolve the issue I addressed above, in which I'm wanting to include a small camera icon in the row that has the other user icons in it.

I'm currently having to manually add the icon and URL via a custom user tag, so it's not in the proper location. The way in which Mike has customized album.PL to seamlessly function with my UBB 6.7, was to setup Forum-9 as a restricted "Members Only" access portal, where members with access into F9 automatically being granted access and the ability to setup their own photo galleries.

What I'm looking for, is for these very same members to AUTOMATICALLY have the camera icon added into the lineup of their available options. I figure that it's probably a pretty simple task (for someone in the know) that would be done in public_topic_page.pl but I haven't a clue as to how to integrate it myself.

My site is www.gr-outdoors.com and you'll quickly see what I'm trying to do here.

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

Registered: 03/10/00
Posts: 25452
Loc: Texas
I don't have my files here to check, but it should be relatively simple - one could either invest a bit of time to check private forum access and write the code to show the image (which might slow down a busy site), or for no slow-down a little less time could be invested to use one of the provided extra profile fields to fill-in during the time used to give the same person access to the private forum, then all the template editing needed would be just a call to the profile field.

If no-one else gets it I should be able to sometime this weekend, right after a few other things promised smile
_________________________
- Allen wavey
- What Drives You?

Top
#199426 - 04/22/05 05:38 PM Re: [6.x] Album.pl - UBB-Integrated Photo Album
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Thanks so much. thumbsup

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


Moderator:  Charles, Gizmo 
Who's Online
1 registered (Bill B), 22 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks