Help with a slight scripting thing Help with a slight scripting thing
 

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

Help with a slight scripting thing

Started by latic, May 03, 2004, 05:45:21 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

latic

Please take a look at Jrue.com

i've basically got it running just how i want to expect one thing. If you look at the Registration image on the naviagation bar once you are logged in it turns to My Gallery. Now the only thing i cant do is get that to link to the users gallery, does anyone have any ideas?

<!-- BEGIN alb -->

<td><a href="{MY_GAL_LNK}"</a><IMG height=31
                  alt="" hspace=0 src="themes/jrue/images/head_19.gif" width=104
                  border=0 ></td>             
<!-- END alb -->

Thats my current code but basically it just goes to www.jrue.com/{My_GAL_LNK} which is no use.


Cheers,
James

Joachim Müller

please post a test user account username and password.

GauGau

latic


Casper

Try changing this;
<td><a href="{MY_GAL_LNK}"></a>

to this;
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>

you should also change this;
<!-- BEGIN alb -->and this,<!-- END alb -->

to this;

<!-- BEGIN my_gallery -->and <!-- END my_gallery -->
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

latic

That'd work but i believe i then wouldnt have an image for the link

Casper

Yes, I was only saying to change the bits betweem the '<a href' and the '</a>'. 

So you would have;

<td><a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a><IMG height=31
                  alt="" hspace=0 src="themes/jrue/images/head_19.gif" width=104
                  border=0 ></td>
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

latic

ok cheers i'll change it and then we'll see  :)

latic

http://www.jrue.com/

That doesnt work. It adds text above the image and also just links to www.jrue.com/{gall link}

Cheers for trying tho!