Log in

View Full Version : smilie questions


gengar003
04-23-2003, 11:38 PM
Does anybody know where I can find the function "getclickysmilies();" used, aside from

$vbcode_smilies = "getclickysmilies();" in newreply.php? template or.php file...

filburt1
04-23-2003, 11:43 PM
Please post in the correct forum next time.

gengar003
04-23-2003, 11:46 PM
And what might that forum be? It seems like the right place here.

filburt1
04-23-2003, 11:47 PM
That's because I moved it ;)

gengar003
04-24-2003, 12:59 AM
Oh... *embarassed* where'd I put it?

filburt1
04-24-2003, 01:09 AM
Hacking Hints and Tips.

If you're using a decent PHP editor you should be able to use it to search all files. It'll probably be defined in functions.php.

gengar003
04-24-2003, 01:23 AM
ah. Ok, I'll try that.
thanx ;)

Later EDIT: Yes, it's there. So... when I try to call that function in showthread.php - powered showthread template, it doesn't work, whereas it works fine in the newreply.php - powered newreply template... why would that be?

another EDIT: Scratch that last question, my new question is: why isn't $vbcode_smilies parsed in a template other than showthread?

Dean C
04-24-2003, 08:59 AM
It definately works in showthread.php

I'm assuming your trying to get it to work in the quick reply box. Well i think it's about time some information on how to put it correctly into the quick reply box is put in the first thread...

- miSt

gengar003
04-24-2003, 05:12 PM
Mmm... I was trying to do that, and maybe make it a mini-hack... or template mod.

EDIT: It definitely does NOT work in any of my showthread templates, heres's where I've put it, does it look right?

(Because nothing shows up where "$vbcode_smilies" is....)
Also, if it can be made to work here, it should be able to work in any showthread_xx template... right?


... first part of template....

<!-- first unread and next/prev -->
$replybox
$vbcode_smilies
<!-- /spacer -->
</td><td width="10"><img

... rest of template...


also, Filburt1, I use notepad to edit .php files... is there a better program?

DelFDgfd_gT
07-07-2003, 07:15 PM
$vbcode_smilies goes in "showthread_replybox" template, not showthread.

make sure u put $vbcode_smilies = getclickysmilies(); above eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");

filburt1
07-07-2003, 07:34 PM
04-24-03 at 02:12 PM gengar003 said this in Post #9 (https://vborg.vbsupport.ru/showthread.php?postid=386521#post386521)
also, Filburt1, I use notepad to edit .php files... is there a better program?

* filburt1 dies :eek:

I use Maguma Studio, although if there was something like IntelliJ IDEA for PHP, it would be heaven. Man that's a cool IDE :)