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

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] bbcode Smileys
« Reply #60 on: February 20, 2006, 02:44:31 PM »
[olist]
Unknown column 'orden' in 'order clause'[/quote]
What is this and why would think its related to this mod?



Warning: readdir(): supplied argument is not a valid Directory resource in /usr/export/www/vhosts/funnetwork/hosting/paddygree/4images/includes/page_header.php on line 488

Warning: closedir(): supplied argument is not a valid Directory resource in /usr/export/www/vhosts/funnetwork/hosting/paddygree/4images/includes/page_header.php on line 491[/quote]
I see nothing in the tutorial that sais about changing anything in page_header.php
[/olist]

perhaps answering these questions you could find the error...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #61 on: March 04, 2006, 07:01:42 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

Offline Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #62 on: March 15, 2006, 05:24:13 PM »
The Zip file in the first post is missing or perhaps i m not able to download it.
Someone have its copy ?  Or some other location to download it.
I m not a  Programmer.
          But
I m a Good Learner.

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #63 on: March 15, 2006, 07:19:29 PM »
The Zip file in the first post is missing or perhaps i m not able to download it.
Someone have its copy ?  Or some other location to download it.


Offline qwertz

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • haaseart
Re: [Mod] bbcode Smileys
« Reply #64 on: April 27, 2006, 12:40:35 PM »
danke für den mod, klappt prima!  :D
mir ist aufgefallen, dass nach dem erneuten bearbeiten des textes statt der grafik (z.b.: " :wink:") der bbcode (z.b.: <img src="./../templates/4greyblue/smilies/icon_wink.gif") angezeigt wird. kann man da was ändern?

thx for the mod, it´s realy fine!  :D
but i had noticed that after the reedit of the text, instead of the smilie the bbcode is shown. (yes, worse english, i know  :oops: )

Offline idijotaz

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • CLON Entertainment
Re: [Mod] bbcode Smileys
« Reply #65 on: April 27, 2006, 05:08:34 PM »
well... ok everythin works, but one thing. When im trying to klick on smile in comment nothing happens... but if i write :) then show smile...

Offline idijotaz

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • CLON Entertainment
Re: [Mod] bbcode Smileys
« Reply #66 on: April 30, 2006, 02:35:15 PM »
so can anyone help me?  8O

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #67 on: May 09, 2006, 11:23:54 AM »
Hi all  ok i installed the smilie  pack  modd but i want to add more smilies to it
now  i added more emotions to the folder and  i edited the bbcode.html  file  accordingly  but  i get this error


as you can see  i get the emotions in the box but when i submit the comment it dont appear
but if i replace the default smilies to the ones i want and rename it  it will work.
this is the code i added in the bbcode.html  file.

Code: [Select]
<input type="button" value=" " onClick="smilie(this.form,' :8 ')" name="button" class="smilie" style="background-image: url({template_url}/smilies/8.gif); width: 30px;" />
<input type="button" value=" " onClick="smilie(this.form,' hump ')" name="button" class="smilie" style="background-image: url({template_url}/smilies/hump.gif); width: 60px;" />

how can i add more emotions???

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] bbcode Smileys
« Reply #68 on: May 09, 2006, 02:58:59 PM »
You also will need add them into includes/functions.php, into these arrays:
Code: [Select]
    $search_smilie  = array(":)",":-)",":smile:",    ":D",":-D",":grin:",           ":(",":-(",":sad:", "8o","8-o",":shock",":eek:", ":?:",      ":?",":-?",":???:",               "8)","8-)",":cool:",  ":x",":-x",":mad:", ":p",":P",":-p",":-P",":razz:",     ":*",":-*",":oops:",           ":'(",":'-(",":cry:", ">:(",">:-(",":evil:",  ":roll:",   ";)",";-)",":wink:",  ":|",":-|",":neutral:",        ":o",":-o",              ">:)",">:-)",":twisted:",      ":lol:","LOL", ":!:",     ":idea:", ":arrow:", ":mrgreen:");
    $replace_smilie = array("smile","smile","smile", "biggrin","biggrin","biggrin", "sad","sad","sad",  "eek","eek","eek","eek",     "question", "confused","confused","confused", "cool","cool","cool", "mad","mad","mad",  "razz","razz","razz","razz","razz", "redface","redface","redface", "cry","cry","cry",    "evil", "evil", "evil", "rolleyes", "wink","wink","wink", "neutral","neutral","neutral", "surprised","surprised", "twisted","twisted","twisted", "lol","lol",     "exclaim", "idea",   "arrow",   "mrgreen");
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #69 on: May 09, 2006, 05:06:23 PM »
yea  i did edit that to  but same problem  maybe i didnt edit good.
i will try back  and let u know.

thanx..

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #70 on: May 10, 2006, 02:07:29 AM »
ok  i really did had an error in my  array
i fixed it worked  good.

thnx

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #71 on: May 11, 2006, 02:15:17 AM »
how can i make  like  a scroll box  to put all the smilies so users can scroll down  and select  from a variety of smilies.
When i add more  the smilie box just keep getting longer

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] bbcode Smileys
« Reply #72 on: May 11, 2006, 05:22:08 AM »
use style sheet. the idea is set the <div> where your smiles are with static width and height and then use overflow: auto; in the style.
reference:
http://www.w3schools.com/css/css_reference.asp#positioning
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #73 on: May 21, 2006, 01:11:51 AM »
Bei mir schaut es so aus, die Smilies ind irgendwie rechts abgeschnitten und der Button ist zu hoch...
Wo kann ich das ändern?

Habe die Änderungen in den Style Sheets gemacht wie angewiesen, trotzdem scheinen die nicht so
recht übernommen zu werden. Ich mußte nämlich in der bbcode.html für jedes Smilie einzeln
"backgrround-repeat:no-repeat" anweisen, sonst wurde es in dem Button unten noch einmal gezeigt,
also sichtbar war nur das obere Zehntel, aber es wurde wiederholt...


Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [Mod] bbcode Smileys
« Reply #74 on: May 21, 2006, 04:41:57 PM »
So, ich habe es jetzt noch einmal in eine "jungfräuliche" Galerie Version 1.7.2. eingebaut
und dort sieht es ebenfalls so aus. Was mache ich falsch? Kann jemand helfen?

Es stört, dass die Buttons, auf denen die Smilies sind , zu hoch und ein wenig zu schmal sind.
Außerdem werden die Smilies als "background" auf den Buttons wiederholt...