Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #31  
Old 02-06-2008, 06:05 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
that is odd.
Try this:
copy/cut this part of smilie Addon:
PHP Code:
$img_1 "<img src=\"./smilies/";
$img_2 ".gif\" alt=\"\" style=\"border: 0;\" />";

$tpl ereg_replace(":D""".$img_1."icon_biggrin".$img_2.""$tpl);
$tpl ereg_replace(":)""".$img_1."icon_smile".$img_2.""$tpl);
$tpl ereg_replace(":-)""".$img_1."icon_smile".$img_2.""$tpl);
$tpl ereg_replace(":o""".$img_1."icon_eek".$img_2.""$tpl);
$tpl ereg_replace(":O""".$img_1."icon_eek".$img_2.""$tpl);
$tpl ereg_replace(":-\(""".$img_1."icon_evil".$img_2.""$tpl);
$tpl ereg_replace(":\(""".$img_1."icon_evil".$img_2.""$tpl);
$tpl ereg_replace(":p""".$img_1."icon_razz".$img_2.""$tpl);
$tpl ereg_replace(":P""".$img_1."icon_razz".$img_2.""$tpl);
$tpl ereg_replace(":x""".$img_1."icon_twisted".$img_2.""$tpl);
$tpl ereg_replace(":X""".$img_1."icon_twisted".$img_2.""$tpl);
$tpl ereg_replace(";)""".$img_1."icon_deep_clin".$img_2.""$tpl);
$tpl ereg_replace(";-)""".$img_1."icon_deep_clin".$img_2.""$tpl);
$tpl ereg_replace("8)""".$img_1."icon_cool".$img_2.""$tpl);
$tpl ereg_replace("8-)""".$img_1."icon_cool".$img_2.""$tpl); 
and insert it at the end of commentication.php (right before the ?> at the end)
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #32  
Old 02-06-2008, 07:54 PM
derrymaine Offline
pp regular
 
Join Date: Aug 2007
Location: Cergy (near Paris-France)
Posts: 29
Quote:
Originally Posted by austriaka View Post
that is odd.
Try this:
copy/cut this part of smilie Addon:
PHP Code:
$img_1 "<img src=\"./smilies/";
$img_2 ".gif\" alt=\"\" style=\"border: 0;\" />";

$tpl ereg_replace(":D""".$img_1."icon_biggrin".$img_2.""$tpl);
$tpl ereg_replace(":)""".$img_1."icon_smile".$img_2.""$tpl);
$tpl ereg_replace(":-)""".$img_1."icon_smile".$img_2.""$tpl);
$tpl ereg_replace(":o""".$img_1."icon_eek".$img_2.""$tpl);
$tpl ereg_replace(":O""".$img_1."icon_eek".$img_2.""$tpl);
$tpl ereg_replace(":-\(""".$img_1."icon_evil".$img_2.""$tpl);
$tpl ereg_replace(":\(""".$img_1."icon_evil".$img_2.""$tpl);
$tpl ereg_replace(":p""".$img_1."icon_razz".$img_2.""$tpl);
$tpl ereg_replace(":P""".$img_1."icon_razz".$img_2.""$tpl);
$tpl ereg_replace(":x""".$img_1."icon_twisted".$img_2.""$tpl);
$tpl ereg_replace(":X""".$img_1."icon_twisted".$img_2.""$tpl);
$tpl ereg_replace(";)""".$img_1."icon_deep_clin".$img_2.""$tpl);
$tpl ereg_replace(";-)""".$img_1."icon_deep_clin".$img_2.""$tpl);
$tpl ereg_replace("8)""".$img_1."icon_cool".$img_2.""$tpl);
$tpl ereg_replace("8-)""".$img_1."icon_cool".$img_2.""$tpl); 
and insert it at the end of commentication.php (right before the ?> at the end)

I do this way : i can see smilies on comments but then, impossible to put a smilie in a new message (stranges signs and links don't work...)
You can see it on the photoblog.
I think i'm gonna to give up.
Thanks anyway for your help.
Michel
Reply With Quote
  #33  
Old 02-07-2008, 06:49 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Looks like you have copied too much of the code? The HTML code in your image page is broken for some reason.
Better leave the smilies.php untouched, just copy the part of the code into the commentication addon
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #34  
Old 02-08-2008, 03:20 PM
derrymaine Offline
pp regular
 
Join Date: Aug 2007
Location: Cergy (near Paris-France)
Posts: 29
Smilies .php is untouched and i copy the part of the code into the commentication addon. Same thing...Snif......
Do you think,Karin, i must remove smilies php?
Reply With Quote
  #35  
Old 02-09-2008, 04:06 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Ah, I have an idea why it doesn't work.
Please try the following:
Remove the smilies Addon from your blog. Open the Addons page and make sure it is gone.
Rename the file smilies.php to something like smilies_new.php and upload it again. This should do the trick that it is stored in Database after the Reply To Comments Addon.
I hope that this will work!
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #36  
Old 02-10-2008, 10:57 AM
derrymaine Offline
pp regular
 
Join Date: Aug 2007
Location: Cergy (near Paris-France)
Posts: 29
Unhappy

Quote:
Originally Posted by austriaka View Post
Ah, I have an idea why it doesn't work.
Please try the following:
Remove the smilies Addon from your blog. Open the Addons page and make sure it is gone.
Rename the file smilies.php to something like smilies_new.php and upload it again. This should do the trick that it is stored in Database after the Reply To Comments Addon.
I hope that this will work!

Noooo, doesn't work, even with a new name...So, i decided to remove smilies addon. It's not a big problem. And i think i'm only one with this problem. (i surely did something wrong...somewhere).
Thanks anyway for your help..

Michel
Reply With Quote
  #37  
Old 02-10-2008, 04:38 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
removing the Smilies Addon should of course solve the problem.
Anyway, if you rename this addon and upload again, I meant to use the commentication.php WITHOUT the added lines.
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #38  
Old 02-10-2008, 07:42 PM
derrymaine Offline
pp regular
 
Join Date: Aug 2007
Location: Cergy (near Paris-France)
Posts: 29
I tried with smilies_new.php and commentication with added lines :i can see smilies in comments but not possible to add one in a new comment (stranges signs..)... If i remove added lines, well, smilies work again for a new message but nothing appear ......In fact, it's same as before...New smilies addon name doesn't change something..It seems whatever i do, it's good in one way, just one...
Reply With Quote
  #39  
Old 02-11-2008, 10:41 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
so sorry :-(
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #40  
Old 02-11-2008, 06:26 PM
derrymaine Offline
pp regular
 
Join Date: Aug 2007
Location: Cergy (near Paris-France)
Posts: 29
Smile

Quote:
Originally Posted by austriaka View Post
so sorry :-(

Oh, no..i enjoy your addon, it's the more important...(and you tried to help, so, never mind)

Merci quand même!!
Michel
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:30 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs