FAP CUSTOMIZATION - Can I Get A Link Or BBCode In This Field? »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - Can I Get A Link Or BBCode In This Field?



Honeysmom [ Tue 20 Feb, 2007 03:19 ]
Post subject: FAP CUSTOMIZATION - Can I Get A Link Or BBCode In This Field?
I posted about the hyperlinks and thinking I may have wording that wrong. I would settle for being able to put in bbcodes to make a link so I would need to be able to use

[url][/url]

I would like my extra field to be able to show the link. I found this thread on the old board about allowing bbcode in the description but the thread didn't finish and I have no clue what to do.

Could I modify this to allow a link in a different field instead of the description field??

http://www.mightygorgon.com/viewtop...ight=bbcode+fap


Honeysmom [ Thu 22 Feb, 2007 05:20 ]
Post subject: Re: BBCODE Instead?
Sorry I may not have given enough information for this and was wondering if it was a possibility or not. I'm holding off launching my stie as this is a big feature I would like to offer

I have installed FAP (I'm on phpbb2.022).

I believe it is set to allow bbcode in the comments but that is it.

When someone uploads a photo to my gallery they have these fields to fill in

Title:
deiscription:
Link to Kit:
Credits:
Fonts:
(thanks to Artie)

I would really like them to be able to copy and paste a url into the "Link to Kit" and have it a clickable link for other members. Is this possible?

If not I would settle for them having to enter the bbcode first if I need.

Thanks!!


Shaythong [ Thu 22 Feb, 2007 07:14 ]
Post subject: Re: Can I Get A Link Or BBCode In This Field?
I'm sorry, do you mean the album ID bbcode? Like [album=#] forgot what the BBCode is but... something with album showing pictures in your posts?


Honeysmom [ Thu 22 Feb, 2007 12:08 ]
Post subject: Re: Can I Get A Link Or BBCode In This Field?
No sorry this may help. Here is a photo in my gallery

http://www.diginewsnow.com/forum/album_showpage.php?pic_id=26

If you look at the link field you will see a url however it is not clickable.

My best scenerio would be for the member to put that in there and not have to enter any kinda code and it automatically is clickable (like in phpbb forum when a member enters a link in a post it is clickable without any other coding)

My next option would be bbcode so they had to ad the [url] code infront and behind the link


Artie [ Sat 24 Feb, 2007 03:46 ]
Post subject: Re: Can I Get A Link Or BBCode In This Field?
Simple way would be to modify the field variable in album_showpage.php to make any text in that field a hyperlink

Example:
Code: [Hide] [Select]
'Link_to_kit' => '<a href=" ' . $thispic['link_to_kit'] . ' ">' . $thispic['link_to_kit']. '</a>',


Provided your users copy/paste or enter http://www.link.com in that field


Honeysmom [ Sat 24 Feb, 2007 03:57 ]
Post subject: 
First Arite, nice to see you and

So sorry for the double post.

Ok this is what I put in

Quote:

'PIC_LINK' => '<a href=" ' . $thispic['link_to_kit'] . ' ">' . $thispic['link_to_kit']. '</a>',


But now when you look at the photo NOTHING is showing up in the field?


Honeysmom [ Sat 24 Feb, 2007 03:57 ]
Post subject: Re: Can I Get A Link Or BBCode In This Field?
Duh Never mind I just saw my error LOL


Honeysmom [ Sat 24 Feb, 2007 03:59 ]
Post subject: 
Worked like a charm.

Thank you as usual


Artie [ Sat 24 Feb, 2007 03:59 ]
Post subject: Re: Can I Get A Link Or BBCode In This Field?
Honeysmom wrote: [View Post]
Duh Never mind I just saw my error LOL

I see it too ...

You are welcome.




Powered by Icy Phoenix