Author |
Message |
rickleigh
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 06, 2009
Posts: 183
|
Posted:
Fri Oct 23, 2009 10:24 pm |
|
I have my Price plans all setup in my live site which is still RN2.3. But when I transferred the DB files to my test site running RN2.4. My buying links are doubling up.
I've also noticed that the form field is smaller then the one in 2.3 that is in 2.4 for the buying links. |
_________________ Thanks,
Rick Leigh
Last edited by rickleigh on Sun Oct 25, 2009 11:55 am; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sat Oct 24, 2009 6:34 am |
|
From the view source of the links, it looks as if the paypal button code under Buy Links has some errors in it. Double check it and make sure it was copied and pasted correctly.
example
Code:webscr="" method="post">"></a><form action="htt
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 9:44 am |
|
nuken wrote: | From the view source of the links, it looks as if the paypal button code under Buy Links has some errors in it. Double check it and make sure it was copied and pasted correctly.
example
Code:webscr="" method="post">"></a><form action="htt
| |
Nuken,
I would say you might be right if it wasn't that the same code is working fine on the 2.3 site. It seems to be the new format of what ever changes where done in the Advertising module for the 2.4 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Oct 24, 2009 10:24 am |
|
Is this a duplicate post?
I'm sure you asked about adding buy now buttons in the RN 2.4 Advertising module and the answer is pretty much the same. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 10:31 am |
|
Guardian2003 wrote: | Is this a duplicate post?
I'm sure you asked about adding buy now buttons in the RN 2.4 Advertising module and the answer is pretty much the same. |
No, I think you are thinking of the post about having issue putting Java script Ads in the FCKeditor.
But, I did try and add this code in the PHPmyadmin like you suggested in that thread for the javascript and it still doubles up on the site.
The Buying links dosnt use the FCKeditor. Its just a text field and its smaller in 2.4 then it was in 2.3 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 10:37 am |
|
OK I'm getting confused now we are discussing pretty much the same thing in two different topics now but lets address it here for the sake of my sanity.
Have you made the changes to the code that were given in the 'other' topic?
If yes, then is the broken paypal link code evident when you create a NEW buy now button or is it only old ones that are broken? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 1:33 pm |
|
Guardian2003 wrote: | OK I'm getting confused now we are discussing pretty much the same thing in two different topics now but lets address it here for the sake of my sanity.
Have you made the changes to the code that were given in the 'other' topic?
If yes, then is the broken paypal link code evident when you create a NEW buy now button or is it only old ones that are broken? |
Should be no confusen here. The other topic had to do with the FCKeditor which I have made the changes that was given.
This topic has to do with the text field that you put the buy links in.
Here is how it is in RN2.3 and my links work fine:
Here is how it is in RN2.4 and my links don't work:
These changes have made it to where I can't use the links that I have working on my 2.3 ver.
I hope this helps the understanding of the issues I'm having now. The other issue in the other post has been fixed and working for the ads themselves. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Oct 24, 2009 2:28 pm |
|
I just got my computer running agin. Currently reisntalling everything. When I'm done I will try and take a looka t this. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 2:30 pm |
|
Removed by nuken |
Last edited by nuken on Sat Oct 24, 2009 5:20 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 4:42 pm |
|
edited by RickLeigh to delete something that didn't work to fix this issue. |
Last edited by rickleigh on Sat Oct 24, 2009 5:47 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 4:50 pm |
|
removed by nuken |
Last edited by nuken on Sat Oct 24, 2009 5:20 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 4:53 pm |
|
Let me change that... It is pulling some of the tags out... I will test it some more and figure it out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 5:05 pm |
|
edited by RickLeigh to delete something that didn't work to fix this issue. |
Last edited by rickleigh on Sat Oct 24, 2009 5:47 pm; edited 2 times in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 5:06 pm |
|
nuken wrote: | Let me change that... It is pulling some of the tags out... I will test it some more and figure it out. |
Must have been typing at the same time.
Standing by ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 5:19 pm |
|
It is stumping me. Everything I suggested will not help at all so I'm gonna delete it so no one gets confused. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 5:23 pm |
|
nuken wrote: | It is stumping me. Everything I suggested will not help at all so I'm gonna delete it so no one gets confused. |
Should I remove the edits you provided? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 5:29 pm |
|
I would. If someone clicks on here and is looking for a fix, that would lead them in the wrong direction. Everything I have tried has not worked. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 5:44 pm |
|
So..who did the edit changes in this module that may shed some light on why this maybe happening and what needs to be changed back to funtion with the buy links like it did in RN2.3? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Oct 24, 2009 7:56 pm |
|
fkelly |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 11:21 pm |
|
You guys shouldn't have edited all those posts. There was relevant info there. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 11:23 pm |
|
rickleigh, can you post the code for your "buy now" link again. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 12:27 am |
|
The only thing I had him try was to turn the text field into wysiwyg text area which did nothing to solve the issue he had. Here is what he is trying to use.
Code:<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="*******">
<table>
<tr><td><input type="hidden" name="on0" value="Ad Type:">Ad Type:</td></tr><tr><td><select name="os0">
<option value="Image">Image
<option value="Flash">Flash
<option value="Text">Text
</select> </td></tr>
</table>
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="*******">
<table>
<tr><td><input type="hidden" name="on0" value="Ad Type:">Ad Type:</td></tr><tr><td><select name="os0">
<option value="Image">Image
<option value="Flash">Flash
<option value="Text">Text
</select> </td></tr>
</table>
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 12:31 am |
|
Ok don't worry about posting the code again.
First off please review what I posted in the other topic.
http://www.ravenphpscripts.com/postp142807.html#142807
Then find the two instances of the following in module admin index.php:
Code:
$buy_links = mysql_real_escape_string(check_html($buy_links, ''));
|
Change to:
Code:
$buy_links = mysql_real_escape_string(check_html($buy_links, 'nocheck'));
|
Line 1251:
Code:
echo '<input type="text" name="buy_links" size="100" maxlength="120" />';
|
Change to:
Code:
echo '<textarea name="buy_links" cols="70" rows="12" /></textarea>';
|
Line 1336:
Code:echo '<input ttype="text" name="buy_links" value = "'.$buy_links.'" /></td></tr>';
|
Change to:
Code:
echo '<textarea name="buy_links" cols="70" rows="12" />' . $buy_links . '</textarea></td></tr>';
|
Next find line 449 in the module index.php:
Code:
echo '<tr><td valign="top"><b>' . $row['name'] . '</b></td><td valign="top">' . $row['description'] . '</td><td valign="top"><center>' . $row['delivery'] . '<br />' . $delivery . '</center></td><td valign="top">' . $row['price'] . '</td><td valign="top" nowrap="nowrap"><center><a href="' . $row['buy_links'] . '">'. $row['buy_links']. '</a></center></td></tr>';
|
Repalce with:
Code:
echo '<tr><td valign="top"><b>' . $row['name'] . '</b></td><td valign="top">' . $row['description'] . '</td><td valign="top"><center>' . $row['delivery'] . '<br />' . $delivery . '</center></td><td valign="top">' . $row['price'] . '</td><td valign="top" nowrap="nowrap"><center>' . $row['buy_links']. '</center></td></tr>';
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 11:15 am |
|
Palbin wrote: | You guys shouldn't have edited all those posts. There was relevant info there. |
Sorry about that
I will do your edits and get back with you soon. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 11:49 am |
|
Palbin wrote: | Ok don't worry about posting the code again.
First off please review what I posted in the other topic.
http://www.ravenphpscripts.com/postp142807.html#142807
Then find the two instances of the following in module admin index.php:
Code:
$buy_links = mysql_real_escape_string(check_html($buy_links, ''));
|
Change to:
Code:
$buy_links = mysql_real_escape_string(check_html($buy_links, 'nocheck'));
|
Line 1251:
Code:
echo '<input type="text" name="buy_links" size="100" maxlength="120" />';
|
Change to:
Code:
echo '<textarea name="buy_links" cols="70" rows="12" /></textarea>';
|
Line 1336:
Code:echo '<input ttype="text" name="buy_links" value = "'.$buy_links.'" /></td></tr>';
|
Change to:
Code:
echo '<textarea name="buy_links" cols="70" rows="12" />' . $buy_links . '</textarea></td></tr>';
|
Next find line 449 in the module index.php:
Code:
echo '<tr><td valign="top"><b>' . $row['name'] . '</b></td><td valign="top">' . $row['description'] . '</td><td valign="top"><center>' . $row['delivery'] . '<br />' . $delivery . '</center></td><td valign="top">' . $row['price'] . '</td><td valign="top" nowrap="nowrap"><center><a href="' . $row['buy_links'] . '">'. $row['buy_links']. '</a></center></td></tr>';
|
Repalce with:
Code:
echo '<tr><td valign="top"><b>' . $row['name'] . '</b></td><td valign="top">' . $row['description'] . '</td><td valign="top"><center>' . $row['delivery'] . '<br />' . $delivery . '</center></td><td valign="top">' . $row['price'] . '</td><td valign="top" nowrap="nowrap"><center>' . $row['buy_links']. '</center></td></tr>';
| | Thank you so very much Its working like a champ now. I did all edits that you provided and everything in this module seems to be working fine now. ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|