Author Topic: [Mod] bbcode Smileys  (Read 186561 times)

0 Members and 1 Guest are viewing this topic.

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [Mod] bbcode Smileys
« Reply #90 on: October 17, 2006, 06:28:54 PM »
I got a little problem with Version 1.7.2
If I don't type in a headline when I post a comment it sends me back to the page. But now the code in the Comment: looks like this
Code: [Select]
<img src="./templates/default/smilies/icon_surprised.gif"> instead of
Code: [Select]
:o

i am having the same problem in 1.7.2

if i leave the headline empty, i get the <img tag code in the comment text box and no comment is posted when i click submit.



It´s everytime when an errormassage is, but with guestbook MOD it works fine - whats wrong?

Edit: I didn´t think it has to do with functions.php, because it works with guestbook.php - there must be something changed in details.php - but what :?:

Ps: I get this error also with a fresh details.php - my v1.7.3

Edit: 19.10.06 - I´ve tried this with a fresh 4images install and it´s also the same  :(

PLZ Help  :(
« Last Edit: October 19, 2006, 07:00:19 AM by Flo2005 »

Project offline

Offline Ferus

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #91 on: November 02, 2006, 02:23:19 PM »
i've just do this mode, and I want add emote to emotes, but when i add a code to functions.php and bbcode.html, emote in the coment are mr green or : P  not this emote. ( i' ve create the button). please create a code for this emote...

Offline Yeti

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • Bernds Homepage
Re: [Mod] bbcode Smileys
« Reply #92 on: December 17, 2006, 11:02:11 PM »
Die Smilie Mod läuft bei mir wunderbar. Ich fände es Klasse sie auch bei den Postkarten benutzen zu können. Kann mir da jemand helfen? Was muß in die postcard.php rein. Die Postcard_create.html braucht ja nur ein   {bbcode}...

The Smilie Mod works great on my homepage. It would be great if I could use it with the postcards. Can anybody help me? What have I to add into the postcard.php?
The postcard_crate.html needs only a {bbcode}...

Thanks in advance

Bernd

Offline myr2904

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #93 on: February 23, 2007, 11:10:34 AM »
I got a little problem with Version 1.7.2
If I don't type in a headline when I post a comment it sends me back to the page. But now the code in the Comment: looks like this
Code: [Select]
<img src="./templates/default/smilies/icon_surprised.gif"> instead of
Code: [Select]
:o

i am having the same problem in 1.7.2

if i leave the headline empty, i get the <img tag code in the comment text box and no comment is posted when i click submit.



Can anyone solve this problem????

Offline Yeti

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • Bernds Homepage
Re: [Mod] bbcode Smileys
« Reply #94 on: February 23, 2007, 11:25:07 AM »
 The same will happen if you klick " Kommentar bearbeiten" or in the english version "comment edit". EVERY time you edit a comment you have to delete <img src="./templates/default/smilies/icon_surprised.gif"> and then you have to type the code which appears if you click the smile on writing a comment.

eg: delete <img src="./templates/default/smilies/icon_surprised.gif"> type  : o and the smilie :o will appear again. Sorry for my poor english

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #95 on: March 16, 2007, 05:29:54 PM »
I got a little problem with Version 1.7.2
If I don't type in a headline when I post a comment it sends me back to the page. But now the code in the Comment: looks like this
Code: [Select]
<img src="./templates/default/smilies/icon_surprised.gif"> instead of
Code: [Select]
:o

Quote

Can anyone solve this problem????

What I did was remove the headline, thus not making it mandatory for headline. Personally I think its a little useless, but that's me. If you don't want to remove the headline, then you will have to find another way around. But this way works.

1. Open details.php
Find and remove
Code: [Select]
if ($comment_headline == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['headline_required'];
      $error = 1;
    }


2. Open templates/comment_bit.html
Find and remove
       
Code: [Select]
<td valign="top"><b>{comment_headline}</b></td>


3. Open templates/comment_form.html
Find and remove
Code: [Select]
<tr>
                  <td width="90"><b>{lang_headline}</b></td>
                  <td><input type="text" name="comment_headline" size="30" value="{comment_headline}" class="commentinput" /></td>
                </tr>

Works for me since I received the same thing in 1.7.4. Good luck!

Offline gls

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #96 on: March 30, 2007, 02:11:02 PM »
How do I change the height of the smilies? I have added some that are too tall and show only partially in the selection box. I tried adding
height: 33px;
to bbcode.html after width, but it does not seem to work. :?

Offline gls

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #97 on: March 30, 2007, 02:22:13 PM »
Solved it! Add the height necessary to .smilie in the style sheet! [d.u.h.] :| :mrgreen:

Offline UFOSWORLD

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #98 on: April 07, 2007, 12:49:55 PM »
Hab den ganzen Mod geadded, funzte auch gleich...

hatte aber auch das Problem das unter Firefox die grauen Buttons angezeigt werden und die Smilie rechts abgeschnitten, bzw unten verlängert...  nachdem ich die Verbesserung von doubleflash eingefügt hatte, war es auch besser, jedoch sehen meine Smilies jetzt so aus... (abstand.jpg)

wie bekomme ich die grossen Abstände zwischen den Smilies raus?


Was ich noch bemerkt habe ist folgendes Problem (anscheinend hat das noch niemand bemerkt!!)

Wenn ich ein Kommentar schreibe und smilies mit ins KOmmenatr einfüge...

und dann auf KOmmentar posten klicke...  OHNE die Kommentar-Betreffzeile (Überschrift: ) befüllt zu haben, dann postet er mir das kommentar nicht, weil er ja die Betreffzeile als Pflichtfeld will....
im Reload wandelt er dann die Smilie in <img src links um und bei befüllen der Kommentar-Betreffzeile postet er die Links mit... wandelt diese aber nicht mehr um, weil er ja nur auf :haha: usw reagiert....  und nicht auf <img src.....

wie kann ich das verhindern....   siehe Screenshot... comment_ohne_betreff.jpg

danke schon mal

UFOSWORLD

 


p.s. wenn ich die Kommentar Betreffzeile gleich mitbefülle, dann gibt es keine Probleme und er postet den Kommentar wie gewünscht....

Offline Joss

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • All about digital photography
Re: [Mod] bbcode Smileys
« Reply #99 on: April 13, 2007, 10:08:14 PM »
Hi all,
I've two problems:

1. The transparensy isn't working in Mozilla Firefox (look for screen shot).
2. When user edits the comment, after it smiles are transformed to text links.
Digital Photo Gallery: http://gallery.imagemaster.ru

Offline UFOSWORLD

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #100 on: April 20, 2007, 11:49:26 AM »
Hi all,
I've two problems:

1. The transparensy isn't working in Mozilla Firefox (look for screen shot).
2. When user edits the comment, after it smiles are transformed to text links.


Hehe look like we have the same Problems... look @ my post up there....

to 1. did you insert the code from doubleflash??
        http://www.4homepages.de/forum/index.php?topic=6646.msg71091#msg71091

to 2. Same Problem...    you can also try this..  write a comment with lots of smilies in there , but dont fill the heading  field...
        now post the comment... after you hit the post button... 4homepages will say ... please fill the heading  field... now look
        into you comment field... the smilie codes transformed into links....

       I solved it that way... 
       hidding the heading  field and set some standard heading  like "This coment was written by {user_name}"
     
      could post you the code, if you want it...  or just look at
      http://www.4homepages.de/forum/index.php?topic=17157.0  (its in German)
     
      ok that doesnt solve the Problem when you edit a comment... or user did..., but it solve the problem when the user
      forget to fill up the heading field and want to post the comment...
     
      i deactivate the function that users can edit there coments after posting... what`s written is written ....



Offline Joss

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • All about digital photography
Re: [Mod] bbcode Smileys
« Reply #101 on: April 20, 2007, 05:17:30 PM »
UFOSWORLD,
thanks for reply!

Quote
to 1. did you insert the code from doubleflash??
No. It's so difficult to translate German to English and after it English to Russian.  :D But it's work! Thank you very much! I think, such modifications needs to be described in first topic of the thread.  :)

Quote
to 2. Same Problem... 
I've removed this requirement. My users may write posts without header filling. You can look this MOD:
http://www.4homepages.de/forum/index.php?topic=1958.new#new
But I can't forbid them to edit their comments.
 
Digital Photo Gallery: http://gallery.imagemaster.ru

Offline UFOSWORLD

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #102 on: April 21, 2007, 12:32:22 PM »
UFOSWORLD,
thanks for reply!

Quote
to 1. did you insert the code from doubleflash??
No. It's so difficult to translate German to English and after it English to Russian.  :D But it's work! Thank you very much! I think, such modifications needs to be described in first topic of the thread.  :)

Quote
to 2. Same Problem... 
I've removed this requirement. My users may write posts without header filling. You can look this MOD:
http://www.4homepages.de/forum/index.php?topic=1958.new#new
But I can't forbid them to edit their comments.
 

Yes, i think it is not easy... to translate that...  for example with google translater... lol

to 2.  THX.. that is the Code i searched for...   but i didnt change my code again, because it works fine for me...


to the Edit Comment Problem:

Do you mean they can edit all the comments they have made on all pictures  or just the comments to there pictures made?

My normal registered Users cant edit there comments... the edit comment button does not exist.
Normal Registered Users cant also upload pictures... just the admin can upload pictures...

look in you admin section  i found something there ..

in Einstellungen => Session und User Einstellungen

Dürfen User Ihre eigenen Bilder bearbeiten
Dürfen User Ihre eigenen Bilder löschen
Dürfen User Kommentare zu Ihren eigenen Bildern bearbeiten
Dürfen User Kommentare zu Ihren eigenen Bildern löschen

that all is in my case at yes...  but that is only usefull, wenn users can upload pictures too...

and they dont upload pictures... they just watch...

hope it helps you

greetz to russia

ufo

Offline Joss

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • All about digital photography
Re: [Mod] bbcode Smileys
« Reply #103 on: April 23, 2007, 10:00:18 PM »
UFOSWORLD, Thank you!

Also, I've found another bug with bbcode MOD. Try to use smiles in image title. The RSS script working wrong in such case and probably something else. We need disallow the smiles only in comments, not in titles!
Digital Photo Gallery: http://gallery.imagemaster.ru

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [Mod] bbcode Smileys
« Reply #104 on: April 30, 2007, 09:25:59 AM »
Hallo!
Ich habe einen Bug zu berichten:
Wenn jemand einen Kommentar postet und darin Smilies verwendet, wird danach der Beitrag ganz normal mit den zugehörigen Smilies angezeigt. Dies funktioniert einwandfrei!
Jedoch wenn ich einen Kommentar bearbeiten möchte, wird nur den HTML Code angezeigt anstatt der Abkürzung vom Smilie

-> Beispiel:
Kommentar-Nachricht im ACP:
Code: [Select]
<img src="./templates/default/smilies/icon_surprised.gif">
Sollte so erscheinen:
Code: [Select]
:o
Was funktioniert hier nicht? Nach dem Bearbeiten des Kommentars erscheint der HTML-Code als Text im Kommantarfeld - Nachricht.
Ich habe die Funktion "HTML-Code in den Kommentaren erlauben" ausgeschaltet (dies möchte ich auch so behalten).
Kann mir bitte jemand weiterhelfen?
Wäre sehr dankbar!
greetings