 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
March 17th, 2008, 11:32 PM
|
#1 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Enable Album Intro html?
Can the Enable Album Intro text for user albums be tweaked in such a way as to show html as the basic categories can do? I would like to use precise category advertising into this field, but all I show is the coding, not the images..
Last edited by skidpics; March 18th, 2008 at 11:55 AM.
|
| |
March 18th, 2008, 09:30 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You can try adding this in bold in useralbums.php in bold and save. Code: Content visible to verified customers only.
|
| |
March 18th, 2008, 12:13 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
That didn't do it..
|
| |
March 18th, 2008, 12:21 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
well not sure what would how about placing a link as thats the only thing we do in adm-cats.php
The album intro is pulled the same way we pull a cat intro in showgallery so the issue cant be there that I know of.
|
| |
March 18th, 2008, 12:40 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
it changes the coding when I place it in there. This: <SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-ewkl"> </SCRIPT> Turns into this:
&lt;SCRIPT type=&quot;text/javascript&quot; LANGUAGE=&quot;javascript&quot; src=&quot; http://www.qksz.net/1e-ewkl&quot;&gt; &lt;/SCRIPT&gt;
and just displays the code.
here is a link to the gallery I am testing it on. http://skidpics.com/showgallery.php?cat=713 |
| |
March 18th, 2008, 01:08 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
what happens if you use that code on a category?
|
| |
March 18th, 2008, 01:11 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
| http://www.reeftalk.com/gallery/show...y.php?cat=3083
testing and testing
I am not sure Michael allows script tags at any rate as thats a security risk and we do not allow script html tags
|
| |
March 18th, 2008, 01:38 PM
|
#8 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Quote:
Originally Posted by Chuck S what happens if you use that code on a category? | Works fine..
here is my entertainment category... http://skidpics.com/showgallery.php/cat/501 |
| |
March 18th, 2008, 03:56 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
disregard any previous changes use a clean file and in useralbums.php make sure the typecast lines are this and the new line is added below Code: Content visible to verified customers only.
|
| |
March 18th, 2008, 07:53 PM
|
#10 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
So this? Quote:
typecast($_REQUEST, array('ppaction' => STRING,'albumid' => INT));
typecast($_POST, array('admin' => INT, 'category' => INT, 'do' => STRING, 'isprivate' => STRING, 'canzip' => STRING,
'albumdesc' => STRING, 'albumname' => STRING, 'theme' => STRING, 'parent' => INT,
'sortorder' => INT, 'catorder' => INT, 'frames' => STRING, 'oldstat' => STRING,
'albumowner' => STRING, 'thumbtype' => INT, 'intro' => STRING, 'introtitle' => STRING,
$introcopy = $_POST['introcopy'];
$introcopy = htmlentities( $introcopy );
|
Last edited by skidpics; March 18th, 2008 at 08:01 PM.
|
| |
March 19th, 2008, 09:08 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
No just exactly as I posted above you seem to be adding another line
|
| |
March 19th, 2008, 08:51 PM
|
#12 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
Okay, I replaced this: Quote:
typecast($_REQUEST, array('ppaction' => STRING,'albumid' => INT));
typecast($_POST, array('admin' => INT, 'category' => INT, 'do' => STRING, 'isprivate' => STRING, 'canzip' => STRING,
'albumdesc' => STRING, 'albumname' => STRING, 'theme' => STRING, 'parent' => INT,
'sortorder' => INT, 'catorder' => INT, 'frames' => STRING, 'oldstat' => STRING,
'albumowner' => STRING, 'thumbtype' => INT, 'intro' => STRING, 'introtitle' => STRING,
'introcopy' => STRING) );
|
with this as stated above: Quote:
typecast($_REQUEST, array('ppaction' => STRING,'albumid' => INT));
typecast($_POST, array('admin' => INT, 'category' => INT, 'do' => STRING, 'isprivate' => STRING, 'canzip' => STRING,
'albumdesc' => STRING, 'albumname' => STRING, 'theme' => STRING, 'parent' => INT,
'sortorder' => INT, 'catorder' => INT, 'frames' => STRING, 'oldstat' => STRING,
'albumowner' => STRING, 'thumbtype' => INT, 'intro' => STRING, 'introtitle' => STRING) );
$introcopy = $_POST['introcopy'];
| NO difference in the way it handles to intro...
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:41 AM. | |