Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Add/Edit/Delete Smile code (Updated Dec 8- Done)
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 5

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 06 December 2000 :  16:40:17  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
No Demo Available Currently

<font color=red>UPDATED:</font id=red> 4:10PM EST Dec 8
-Everything is working properly, I have thoughroly checked it out. Any comments/bugs please report to this thread.
-<u>Just added MySQL support</u>

http://stimmy.cfm-resources.com/smiles_mod.zip - Download
http://stimmy.cfm-resources.com/smiles_mod.txt - To install around other Mods

I didnt include the inc_top.asp changes, as some of you have it heavily modified, so <font color=red>ADD</font id=red> the <font color=blue>Javascript</font id=blue> code below.
<pre id=code><font face=courier size=2 id=code>
function openWindow5(url) {
popupWin = window.open(url,'new_page','width=400,height=600,scrollbars=1')
}
</font id=code></pre id=code>

<b><font color=green>Feature List:</font id=green></b>
Add/Edit/And Delete Smiles
Automatically creates the Default Smile code when installed
Automatically updates faq.asp and pop_icon_legend.asp when new smiles added/deleted/edited.
Completely works with access (I've thoroughly tested it)

<font color=green>Instructions:</font id=green> - Download and copy into your snitz folder, upload, and run 'create_smiles_table.asp' - If you get the success message, well then success :) if not contact me here. <b>Make sure you backup all replaced files!</b>

<font color=red><b>Notes:</b></font id=red> - Updated code, should work with both Access and SQL server, I've not gotten a chance to test it with SQL server, so if it works/dosnt work let me know in this thread.: created using the code for snitz forums version 3.1 final, I do not know if it would be compatible with later or earlier versions.


Edited by - da_stimulator on 08 December 2000 16:13:47

Edited by - da_stimulator on 08 December 2000 21:12:28

Edited by - da_stimulator on 09 December 2000 14:02:38

Edited by - da_stimulator on 13 December 2000 21:41:02

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 06 December 2000 :  16:46:33  Show Profile
you do have to have a username/password to delete a smilie right?
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 06 December 2000 :  16:48:20  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Yeah, admin_smiles.asp/edit_smile.asp/delete_smile.asp cann all be fitted with the session variable for Admin, but I removed it for demo purposes

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 06 December 2000 :  16:49:34  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I have a create_smile_table.asp which creates the table in the database used, and adds all the default smiles.

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 06 December 2000 :  16:50:38  Show Profile
ok, so what you have up is just a demo... No harm will be done if someone clicks on delete, right?
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 06 December 2000 :  16:52:17  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
No harm will be done :) its all in the test folder, and I made it all work, its using a diff database, do what you like :)

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 06 December 2000 :  17:02:31  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
My inspiration was this post... Took me maybe 15 minutes total to do it.

http://forum.snitz.com/forum/link.asp?TOPIC_ID=2520

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 06 December 2000 :  21:05:19  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
http://forums.aokingdom.com/smiles_mod.zip

I updated it, it now updates faq.asp and pop_icon_legend.asp when you add/edit/delete smiles.

The demo no longer works because I added the security thingy :)

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 07 December 2000 :  10:14:05  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
OK, I just noticed that the demo doesn't work anymore<img src=icon_smile_sad.gif border=0 align=middle>. I wanted to let you know I got an error hitting the demo. It didn't look like the a security error either...

Here's the error I got:
<pre id=code><font face=courier size=2 id=code>
Microsoft VBScript runtime error '800a01a8'

Object required: ''

/test/inc_footer.asp, line 82
</font id=code></pre id=code>

Dave Maxwell
--------------
When's the next meeting of Snitzaholics Anonymous<img src=icon_smile_question.gif border=0 align=middle>
Go to Top of Page

isuru
Junior Member

464 Posts

Posted - 07 December 2000 :  11:43:23  Show Profile
Yeah I got the same error as davemaxwell.

This will be a great mod when finished <img src=icon_smile_big.gif border=0 align=middle>

-=-=-=-=-=-=-=-
Isuru Amarasena <img src=icon_smile_big.gif border=0 align=middle>
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 07 December 2000 :  15:53:50  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Yeah I dont know what that error is, but I think its related to the admin security thingy, cuz I added the session variable for admin, because I now use the smile mod in the forums, and I didnt want anybody to screw them up :(

I'm setting up another demo.

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 07 December 2000 :  16:13:21  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Demo works, but I gotta fix something, where the hell is the code for the 'Format:' thing above the posts? I need to edit the javascript code for the smile code popup. I looked up and down post.asp and didnt find it, ran a few serches, looked in inc_code, inc_functions. Couldnt find it, cant think of where else it would be.

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 07 December 2000 :  17:26:25  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Ok I found it, combination of inc_top.asp and inc_post_buttons.asp...

Its ready for download and use, make sure you read the top thread (I updated it) and let me know what you guys think!

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.
Go to Top of Page

mot
New Member

United Kingdom
70 Posts

Posted - 07 December 2000 :  17:51:12  Show Profile  Visit mot's Homepage
using sql 7 and got this error on running create_smile_table.asp
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #1: Cannot find data type COUNTER.

/forumtest/create_smile_table.asp, line 50


Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 07 December 2000 :  18:40:34  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Should work now, re-download.

<font color=red>Da_Stimulator</font id=red>
<font color=red>http://aokingdom.com</font id=red>
<font color=blue>response.write("I know what you coded last summer!")</font id=blue>
http://www.tek-tips.com - The community where computer proffesionals meet and talk.

Edited by - da_stimulator on 07 December 2000 19:05:20
Go to Top of Page

John
Junior Member

USA
427 Posts

Posted - 07 December 2000 :  19:14:54  Show Profile
Great <img src=icon_smile.gif border=0 align=middle>
Now just do configurable forum code and... <img src=icon_smile.gif border=0 align=middle>

<b><font size=2>John Miller</font id=size2>
<font color=green><font size=1>Snitz Moderator</font id=size1></font id=green></b>
<img src="http://online.mirabilis.com/scripts/online.dll?icq=49005230&img=7" border=0>
"<i>You are now logged in! Please log in below:</i>"
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07