Author |
Topic |
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 15 November 2003 : 17:38:12
|
MarcelG’s Sidebar Mod – version 0.9 beta First public Béta
Download here DISCLAIMER / WARNING This mod has been tested only on an already modded Crashcode 3.4 and Snitz 3.4 using MS Access. Use at your own risk!!
I wrote this mod for my first site Opzolder.net and further extended the mod for my second site OXLE.
This mod is written as an alternative for the Portal sites such as Crashsite, Imageforums2001 and Serverhacker. These premodded Snitzes all have their portal-pages, however I hated it that the info shown on the portal is only shown on the portal. I wanted a mod which enabled me to show all sorts of info on all sorts of pages, in a sort of a sidebar. I ‘borrowed’ the idea from two dutch sites, Tweakers and Fok!, so to speak.
This version of the Sidebar Mod gives you the following : - A sidebar which you can fill with your own mods! - A user specific menu. (derived from Crashcode) - A Topictracker (derived form the Slash-mod) - A News-feed tracker - Another News-feed tracker (shortnews.asp) - Weblogs (weblogs.asp, logfeed.asp) - A poll-tracker - An event-tracker - A websearch-function - The weather mod (in fact nothing more than a clickable image ….) - The winamp radio mod (again in fact nothing more than a clickable image ….) - The Sophos Virus-info mod - Upcoming / Recent birthdays (no Event Mod required!)
All of these mods are controllable through one admin-page. For all those Crashsite users out there it is also possible to use the following mods: - File Library - Tell A Friend - Member Awards - The guestbook
Naturally virtually any mod which can be fitted in to the sidebar can be used.
Requirements In order to be able to use the sidebar mod you need the following mods installed: 1. Message Icons (for news, weblogs and shortnews) 2. Avatars (for news, weblogs and shortnews) 3. Poll Mod (for the poll-tracker) 4. Event mod (for the event-tracker) 5. Date of Birth instead of Age for member-details (for the Upcoming/Recent Birthdays)
All feedback is very much appreciated!
[edit] Zip file updated with inc_func_old.asp, which is also required, at least for portal_content.asp and weblogs.asp. Next to that altered inc_mainmenu.asp included for use on non-CrashCode fora. [/edit] |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 16 November 2003 16:56:52 |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 15 November 2003 : 17:40:18
|
you're making it so we have to register at your forum to download it? I think this mod is already available at snitbitz.com anyway (if it is what I think it is) |
|
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 15 November 2003 : 17:46:51
|
Nice MOD, Marcle!
|
»Snitz Graphics
|
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 15 November 2003 : 17:50:14
|
dayve, that was not my intention. I used the file attachement mod, and I forgot it uses the pop_download.asp, which requires registration. I changed the link. However, I find it a pitty that you judge the mod without seeing it... |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 15 November 2003 17:51:23 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 15 November 2003 : 17:53:10
|
I didn't judge the mod, I speculated. That was all I could do since I could not download the mod. I always look at everyone's mods. |
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 15 November 2003 : 17:55:05
|
Do you perhaps have a demo? |
|
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 15 November 2003 : 23:49:17
|
Here's a few things:
There's either a file missing: inc_newsfeed.asp or you included the wrong file in sidebar.asp on the last line.
in "Sidebar.asp", immediately before last line which reads:
<!--#include file="inc_newsfeed.asp"-->
insert the following:
<% end if
%>
Now, if the file name is incorrect, you should change the last line to read:
<!--#include file="newsfeed.asp"-->
There's another error on line 182 in sidebar.asp (Microsoft JET Database Engine error '80040e14' The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect. /forum/sidebar.asp, line 182):
set objRec = my_connslash.Execute(strSql)
I know the error isn't in line 182 - but in a select statement which it pertains to. Only question is - what's wrong above it?
Another thing: in inc_spacer.asp, you refer to another missing .gif (abstandhalter.gif) which I know is nothing more than a blank - which can be replaced with icon_blank.gif.
In inc_mainmenu.asp, you reference bookmark.asp, policy.asp and search_advanced.asp which aren't included, either.
|
Edited by - Carefree on 16 November 2003 00:15:19 |
|
|
-gary
Development Team Member
406 Posts |
Posted - 16 November 2003 : 00:05:44
|
quote: Originally posted by Carefree
I know the error isn't in line 182 - but in a select statement which it pertains to. Only question is - what's wrong above it?
That usually happens when you pass a null for the columns you want to select.
Your "select my_column from my_table" statement turns into "select from my_table". |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 16 November 2003 : 00:45:25
|
quote: That usually happens when you pass a null for the columns you want to select.
Your "select my_column from my_table" statement turns into "select from my_table".
Figured it out - after making the corrections above (with the exception of the missing files) - you need to RE-RUN the configuration file to get the rest of the options and fix things up. |
Edited by - Carefree on 16 November 2003 00:53:34 |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 16 November 2003 : 06:54:14
|
quote: Originally posted by Carefree
Here's a few things:
There's either a file missing: inc_newsfeed.asp or you included the wrong file in sidebar.asp on the last line.
in "Sidebar.asp", immediately before last line which reads:
<!--#include file="inc_newsfeed.asp"-->
Yep, that line should be removed. I was working on another extension, which enabled you to integrate external news on your site...that was the inc_newsfeed.asp, but it's far from ready.
quote: In inc_mainmenu.asp, you reference bookmark.asp, policy.asp and search_advanced.asp which aren't included, either.
You're right!...complete forgot that. The main menu is derived from Crashcode, so you need to have these mods installed. I have included a pure Snitz inc_mainmenu.asp, however now it doesn't do much....
quote: Another thing: in inc_spacer.asp, you refer to another missing .gif (abstandhalter.gif) which I know is nothing more than a blank - which can be replaced with icon_blank.gif.
Indeed! I myself even don't have that file, not on oxle nor on opzolder.net! I have included it in the renewed zip file, however it's optional.
Also included inc_func_old.asp, which was called from portal_content.asp but what missing in non-crashcode forums. The zip file is updated. |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 16 November 2003 06:58:55 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 18 November 2003 : 08:07:41
|
Thanks for this Marcel. I'm going to work on this today. I can't use all of it, but I think I'll like what I can |
_-/Cripto9t\-_ |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
Zimm
Starting Member
26 Posts |
Posted - 27 November 2003 : 19:14:03
|
its not working :( |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
Zimm
Starting Member
26 Posts |
|
Topic |
|