Author Topic: Mod? Help :)  (Read 12902 times)

0 Members and 1 Guest are viewing this topic.

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Mod? Help :)
« on: July 23, 2009, 06:10:09 PM »
I want to know if MOD know whereupon, or since I can do this.
How I do so that they select that category to choose, to load a photo?

Link:
http://photo.overlord.cz/member.php?action=uploadform&l=english
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mod? Help :)
« Reply #1 on: July 24, 2009, 03:14:51 AM »
This feature exists in default 4images. Use this in your template:

Code: (HTML template) [Select]
<a href="{url_upload}">Upload</a>
P.S.
next time please give a better headline to your post.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: Mod? Help :)
« Reply #2 on: July 24, 2009, 04:02:06 AM »
Look at this 2 photo please
Can be done that?

member.php?action=uploadform&cat_id=7




member.php?action=uploadform


This site does that:
http://photo.overlord.cz/member.php?action=uploadform&cat_id=58
http://photo.overlord.cz/member.php?action=uploadform
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mod? Help :)
« Reply #3 on: July 24, 2009, 05:53:02 AM »
I don't think I understand what you are trying to do...
if you don't have cat_id in the url, a dropdown menu with available categories will be showed...

are you trying to do so dropdown menu always displayed even if cat_id is in the url?

perhaps try explain it in spanish...?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: Mod? Help :)
« Reply #4 on: July 24, 2009, 04:11:18 PM »
Si, disculpen mi falta de ingles ^_^

-Cuando ingresen en una categoría (Ej. General,Juegos,Música)  el menú de seleccion de categorías no se muestre.
Direccion al ingresar en una catgoria es member.php?action=uploadform&cat_id=7
Ejemplo: http://img36.imageshack.us/img36/3545/54573924.jpg

-Cuando le den click a "Cargar Archivo" el menú de seleción de categorías se muestre. (Ej.<a href="{url_upload}">Upload</a>)
Dirección al ingresar al enlace es member.php?action=uploadform
Ejemplo: http://img36.imageshack.us/img36/9849/17419673.jpg



Esta Galería trabaja con eso:
Ingrese con mi cuenta, asi ven bien lo que intento explicar,
Usuario: Neverkas Contraseña: wGBSSB1V

-Esta URL se muestra al ingresar en una categoría, el menú de seleccion de categorias no aparece.
http://photo.overlord.cz/member.php?action=uploadform&cat_id=58


-Esta URL se muestra al hacer click en <a href="{url_upload}">Upload</a>, el menú de selección de categorias si aparece.
http://photo.overlord.cz/member.php?action=uploadform




Resumen Explicativo:
Cuando le den al boton "Cargar Foto" aparesca un menú para seleccionar en que categoría subir el archivo.
Cuando le den click a una categoria en el index.php, (Ej. General, Musica) no aparesca el menú de selección de categorías, porque ya está dentro de una categoría.
« Last Edit: July 24, 2009, 04:25:23 PM by neverkas »
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mod? Help :)
« Reply #5 on: July 24, 2009, 05:42:46 PM »
Resumen Explicativo:
Cuando le den al boton "Cargar Foto" aparesca un menú para seleccionar en que categoría subir el archivo.
Cuando le den click a una categoria en el index.php, (Ej. General, Musica) no aparesca el menú de selección de categorías, porque ya está dentro de una categoría.

That is how 4images is working by default. In your member_uploadform.html template is missing {cat_name} tag, which display category name when cat_id is specified, and categories dropdown, when no cat_id in the url.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: Mod? Help :)
« Reply #6 on: July 25, 2009, 03:24:55 AM »
Thanks! It seems to me I made that it work, but I want to know I did if it well. I reemplaze {cat_dropdown} by {cat_name}. And it works as I want, but this good what I did?
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mod? Help :)
« Reply #7 on: July 25, 2009, 03:46:58 AM »
Yes, that's correct. {cat_dropdown} is not part of 4images, must be something you changed in the past.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: Mod? Help :)
« Reply #8 on: July 25, 2009, 04:17:27 AM »
Thank you very much....! :D
Sorry to bother you again, but you can make a text to be displayed only if the registered user? Which is similar to {ifnot lang_loggedin_msg}
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mod? Help :)
« Reply #9 on: July 25, 2009, 05:39:25 AM »
use
{if user_loggedin}text for members{endif user_loggedin}
{if user_loggedout}text for guests{endif user_loggedout}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)