User's album by url User's album by url
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

User's album by url

Started by Fabricio Ferrero, June 19, 2008, 04:59:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabricio Ferrero

I really need this - http://forum.coppermine-gallery.net/index.php/topic,16622.0.html  working on my site but I can't make it work. I run cpg1.4.8 modpack by Stramm. I try all that appears in that thread, my .htaccess file is working properly but still doesn't work. I think it's because it's not standalone or yab. What do I need to modify to make it work whit Stramm?


P.S: Did you add the language file I send you?

Regards,
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

just_some_guy

Make sure you are following the correct instructions as the first post will not work on standalone CPG. There are instructions a few posts later which is for standalone, there is a mistake in the code (as mentioned in reply 6). Is that cpg1.4.18 or cpg1.4.8 - upgrade.

Link to the gallery? Any errors?
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Fabricio Ferrero

QuoteI run cpg1.4.8 modpack by Stramm
I ment 1.4.18, sorry for that. ;)

I don't need instrutions to install this on standalone cpg. I need to install on modded cpg, by Stramm. That's why I ask for instruccion. It's not explaind how to apply the url frinendly on Stramm. Could someone explain to me? Please.

Thanks for your reply just_some_guy
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Stramm

You need to code it if you need it.

Fabricio Ferrero

Ok, I'm not programmer but I will try to figure it out. In case I'll make it I will post it.

Thanks both for the answers.  ;)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

just_some_guy

It should be possible to do this only using a .htaccess. Have a google for how to Mod Rewrite.

Perhaps try this (adapted from the manual at - http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html) -


RewriteRule /gallery/(.*) /useralb.php?user\%3d$1 [R,NE]
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

amiphoto

I am having problems sending users to just their albums. I tried the mod listed in the FAQ section, but this does not shown the album only the path. Belwo is the mod that I installed in the login.php file.

How can I send a user directly to his private album once he logs in?
edit
login.php
and search for
pageheader($lang_login_php['login'],"<META http-equiv=\"refresh\" content=\"3;url=$referer\">");

and add before it
$referer = 'index.php?cat='.(FIRST_USER_CAT+$USER_DATA['user_id']);


Do I need to add something else?