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

 All Forums
 Community Forums
 Show-Off Your Forums
 oxle - the brother of opzolder
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 12 December 2003 :  06:36:26  Show Profile  Visit MarcelG's Homepage
I replaced the quote function.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 12 December 2003 :  12:34:46  Show Profile  Send xx ENIGMA xx an AOL message
quote:
Originally posted by marcelgoertz

No changes in post.asp, just some changes in inc_func_common.asp as I recall.
Here's the topic: http://www.crashsite.nl/topic.asp?TOPIC_ID=3337
I also created some new ways of showing images in this mod.
It's not very hard to do, but if you do have questions, you know where to find me!



I've been trying to do this "quote in table" and have asked
for help here with little turn out.

Could you post how you did this as I have been trying to follow
what you have done at crashsite but you have single quote's
in the pasted code and when I fix that it still doesnt create
a table for me, so I must be missing something.


my little forum playground

Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 12 December 2003 :  12:43:15  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Marcel,
I tried the stuff at crashsite also. No success. Would you be kind enough sir to bestow your asp prowess
on us. Your framed quotes look great. We stand humbly beseeching you!
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 12 December 2003 :  15:31:59  Show Profile  Visit MarcelG's Homepage
As the code I am about to paste into this topic will be containing [code] tags that should not be interpreted, I guess the risk of misinterpretation is too big.
That's why I will simply provide you with direct download links to my inc_func_common.asp and inc_func_posting.asp.

In short the functions of both files:
inc_func_common.asp ; this file (amongst other things) interprets the codes you write in post.asp to HTML code.
So, simply if you write [b], it makes sure that <b> is written to the record.
inc_func_posting.asp ; this file works the other way around. It reads the HTML from the db, and translates it back to forumcode.

So, what does this mean ?
It means that if you change something in one file, you will need to change/add it also in the other file.
For instance, if I tell inc_func_common.asp to interpret [b] as <strong>, I will need to make sure that somewhere in inc_func_posting.asp a function is used to translate <strong> back to [b].

Okay, but how this affect the [quote] function ?
You surely have used the quote function before, in an already existing topic. This topic is stored in the db, and the entry is stored with the quote code as defined in your current inc_func_common.asp.
So, if you change this function, and also change the corresponding function in inc_func_posting.asp, you will not be able to edit the existing topics which contain quotes. These quotes will be displayed as HTML instead of forumcode. So, you will have to add the new quote-code to inc_func_posting.asp.

Okay, now I've explained this, I can point out the risk which goes along with my version of the mod.
My bordercolor of the quote-table is derived from the db. So, when i change this color in the forum, the function inc_func_posting.asp will NOT be able to translate the existing quote table to forumcode.

A whole story innit ?

Okay, now to business: Look in my inc_func_common.asp, and search for [quote]
You can completely replace this section with your section in inc_func_common.asp.
You could also replace the " & strTableBorderColor & " with a hardcoded colorvalue.

Now look in my inc_func_posting.asp, and again search for [quote] (lines 101, 102, 123, 124, 125, 126)
You can add these sections to your section in inc_func_posting.asp.
If you replaced the the " & strTableBorderColor & " with a hardcoded colorvalue, you need to do the same here!

Hope this helps.

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 12 December 2003 15:34:36
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 12 December 2003 :  15:50:50  Show Profile  Send xx ENIGMA xx an AOL message
thanks marcelg, I will give it another try and me being
a complete asp n00b hopefully wont dictate my success

EDIT: thanks for the post, it took a bit but I finally got it


my little forum playground


Edited by - xx ENIGMA xx on 13 December 2003 16:36:03
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 13 December 2003 :  17:12:34  Show Profile  Visit MarcelG's Homepage
You got it working ? Good job!

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 13 December 2003 :  20:25:10  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Enigma, I haven't started yet any hints?
Go to Top of Page

imotep
Starting Member

23 Posts

Posted - 13 December 2003 :  21:40:26  Show Profile
Marcel,
Take a look at your site with Opera. Your tables get messed up. The one that has "the forums:", "the frontpage:", etc is full width which pushes down your front page news table to even with the ":plans:" table.
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 14 December 2003 :  05:08:55  Show Profile  Visit MarcelG's Homepage
imotep, thanks for that remark. I will look into it as soon as possible. (i've tested with IE and Mozilla 1.5)I have fixed it
I've now tested with IE 6.x, Mozilla 1.5 and Opera 7...I guess that covers about 80% over the market ?
Maybe someone can explain me this, but why does the exact same code produce a completely different page in these three browsers ? In Opera for instance the image resize function again does not work
Also the hr's under a post are shown differently (not in the correct color), the quote's are shown differently (even differently than they shown in Mozilla, and as they do in IE)
So, three browsers, three different versions of my site

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 14 December 2003 05:38:30
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 14 December 2003 :  06:17:07  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Marcel, glad you fixed it. I thought you were going to have one heck of a job on your hands tracking it down. What did you have to do to fix it?
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 14 December 2003 :  06:44:35  Show Profile  Visit MarcelG's Homepage
I had to add about 6 </table> entries to the sidebar.asp file...I don't know why, but that fixed it...

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 21 December 2003 :  18:32:43  Show Profile  Visit MarcelG's Homepage
okay, some small updates ; added the board time/date to the header for members (no room for this info for users who haven't logged in).
Next to that implemented paging in the articles/news/weblogs by means of a dropdown-paging (ripped from topic.asp).

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 08 January 2004 :  06:40:28  Show Profile  Visit MarcelG's Homepage
Okay, some bigger updates. There has been some discussion about the sidebar and the way it makes the site confusing to new members. (http://www.oxle.com/news.asp?news_id=626)
As a result of that I've made some significant changes.
All remarks are very welcome!

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 08 January 2004 :  08:33:38  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
I like your site/forum very much, excellent and unique design and the colors are easy on the eyes.
The only problem I think are the ads - way too huge IMO.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 08 January 2004 :  08:41:00  Show Profile  Visit MarcelG's Homepage
OWM, I agree... this is just a test, to see if it actually does pay to serve ads, and I am afraid that I won't earn very much with this....less than $ 0,05 a day on average.
And, as I don't want to sacrifice useable space I've placed them in the sidebar, and the only format they have for that width is the 'skyscraper' model...and that's big.
Do you think that the 'Agorahosting' ad is too big also ?

portfolio - linkshrinker - oxle - twitter
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07