Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
Last edited by Honeysmom on Thu 22 Feb, 2007 05:20; edited 1 time in total 
HoneysmomSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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!!
 



 
HoneysmomSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?
 



 
ShaythongSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
HoneysmomSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [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
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post  
 
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?
 



 
HoneysmomSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Can I Get A Link Or BBCode In This Field? 
 
Duh Never mind I just saw my error LOL
 



 
HoneysmomSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post  
 
Worked like a charm.

Thank you as usual
 



 
HoneysmomSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events