vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   smilie questions (https://vborg.vbsupport.ru/showthread.php?t=52033)

gengar003 04-23-2003 11:38 PM

smilie questions
 
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?

PHP Code:

... 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

PHP Code:

$vbcode_smilies 

goes in "showthread_replybox" template, not showthread.

make sure u put
PHP Code:

$vbcode_smilies getclickysmilies(); 

above
PHP Code:

eval("\$replybox = \"".gettemplate('showthread_replybox')."\";"); 



All times are GMT. The time now is 09:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01162 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete