Author |
Topic |
Doughnut
Starting Member
United Kingdom
40 Posts |
Posted - 20 November 2001 : 11:44:26
|
2000
because one of the mods.. I think it wa either the pm mod or the whos online mod..
Thanks, Robin.
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 20 November 2001 : 11:56:11
|
Ok, try changing the strsql statement to look like the below:
strsql = "CREATE TABLE " & strTablePrefix & "SMILES (S_ID COUNTER, S_URL TEXT (250), S_CODE TEXT (15), S_ENABLED TEXT (20), S_DESC TEXT (255))"
---- -Eric | Mod Resource | Test Area Sleep: A completely inadequate substitute for caffeine http://phpscriptcenter.com -Quality PHP Scripts |
|
|
Doughnut
Starting Member
United Kingdom
40 Posts |
Posted - 20 November 2001 : 13:00:01
|
Sorry I know Im dim... but which file am I changeing?
Thanks
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 20 November 2001 : 13:09:48
|
The custom_setup.asp - change the current strsql line to the one in my above post. The entire file should look like the below:
<!--#include file="config.asp" --> <% set my_Conn = Server.CreateObject("ADODB.Connection") my_Conn.Open strConnString
strsql = "CREATE TABLE " & strTablePrefix & "SMILES (S_ID COUNTER, S_URL TEXT (250), S_CODE TEXT (15), S_ENABLED TEXT (20), S_DESC TEXT (255))" my_conn.execute(strsql)
response.write("<center>Smile setup complete...</center>")
my_Conn.close set my_Conn = nothing %>
---- -Eric | Mod Resource | Test Area Sleep: A completely inadequate substitute for caffeine http://phpscriptcenter.com -Quality PHP Scripts |
|
|
Doughnut
Starting Member
United Kingdom
40 Posts |
Posted - 20 November 2001 : 13:13:06
|
better change my inc_functions file back then
|
|
|
Doughnut
Starting Member
United Kingdom
40 Posts |
Posted - 20 November 2001 : 13:30:34
|
emmmmmm
Still nmo response from the custom setup file...I dont know what happened but I can now run admin_mod_dbsetup.asp, but when I do and I choose smile manager 3.3 from the the menu I get this error:
Smile Manager 3.3
Dropping Table..
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "SMILES"]'
/carpuk/forum/admin_mod_dbsetup.asp, line 488
Thanks, sorry to give you a head ache!
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
|
Doughnut
Starting Member
United Kingdom
40 Posts |
Posted - 20 November 2001 : 13:52:00
|
No error at all, no response either just a blank page!
Have a go... http://www25.brinkster.com/carpuk/forum/custom_setup.asp
Thanks.. Im off to work now so I'll check back later to see if you have any thoughts....
Thanks for all your help so far, Robin.
|
|
|
struisje
Starting Member
7 Posts |
Posted - 21 November 2001 : 05:24:12
|
Ok, I installed it and everything works fine but i have a question though
i have added so many smileys that the popupscreen is too small, it doesn't have a scrollbar...
where and how can i activate the scrollbar in the popup??
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 21 November 2001 : 05:32:04
|
in inc_post_buttons.asp find this line:
<a href="JavaScript:openWindow2('pop_icon_legend.asp')"><img src="icon_editor_smilie.gif" width="22" height="22" alt="Insert Smilie" border="0"></a>
and replace it with this line:
<a href="JavaScript:openWindow3('pop_icon_legend.asp')"><img src="icon_editor_smilie.gif" width="22" height="22" alt="Insert Smilie" border="0"></a>
---- -Eric | Mod Resource | Test Area Sleep: A completely inadequate substitute for caffeine http://phpscriptcenter.com -Quality PHP Scripts |
|
|
struisje
Starting Member
7 Posts |
Posted - 21 November 2001 : 05:45:10
|
thanx
other question
is it possible to use some sort of an "OR" function in the code an example: I want to use both :-) and :) for the same smiley do I have to add the smiley twice? or can I just put ":-) or :)" or something like that in "code" ?
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
|
Minority
Starting Member
1 Posts |
Posted - 01 December 2001 : 06:29:29
|
I've installed it, foollowed all the instructions, added all my images, but when i try to add the images to a post, they don't show up.. can any1 help me? |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 01 December 2001 : 11:22:27
|
Did you make sure you added the code to inc_functions.asp?
Also this mod wont work if Images in Posts is turned off (admin options->Feature Configuration->Alow images in posts) - Icons (smiles) must also be enabled.
---- -Eric | Mod Resource | Test Area Who has there phaser set to stupid? http://phpscriptcenter.com -Quality PHP Scripts |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 01 December 2001 : 14:35:06
|
quote:
Also this mod wont work if Images in Posts is turned off (admin options->Feature Configuration->Alow images in posts) - Icons (smiles) must also be enabled.
Uhhh... are you sure about that? I just double checked my feature config and icons are turned on, allow images is turned off and still the extra smilies show up.
Roland
- here to help when possible -
http://www.frutzle.com |
|
|
Topic |
|