Author |
Topic |
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 21 October 2004 : 07:03:23
|
Are you already this far with the mod? Selecting icons should be one of the last things to do I suppose? ;)
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 21 October 2004 : 14:29:43
|
I really really really hate websamba.... |
-Stim |
|
|
matko
New Member
54 Posts |
Posted - 22 October 2004 : 16:40:39
|
I have just sarted the topic about the similar mod programing and I have been pointed here... I better wait, maybe this time the mod will be finished. And thanks Davio for your time and effort. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 22 October 2004 : 17:23:51
|
quote: Originally posted by tribaliztic
Are you already this far with the mod? Selecting icons should be one of the last things to do I suppose? ;)
LOL! .. not really. The graphics design team can be finished way ahead of the coding team. Don't forget there will (probably?) be a testing phase as well for a MOD of this stature. |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 25 October 2004 : 05:35:04
|
Okay.. =( I just think that the graphics wouldn't be the first thing I would be worrying about when making a new mod.. Davio: any news? (been looking for this mod for over a year now =)
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 25 October 2004 : 11:04:50
|
quote: Davio: any news? (been looking for this mod for over a year now =)
You gonna have to wait a few more weeks.
Check my forum. I'll keep you up-to-date with what I am doing over there. |
Support Snitz Forums
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 25 October 2004 : 13:40:51
|
need anymore assistance with anything let me know davio. |
-Stim |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 25 October 2004 : 23:27:04
|
I dug the original 3.3 mod out of my archives and changed it to work (mostly) with 3.4.05 ... I have only one glitch in the mod as it stands now - in the EMail notification portion. There's a parameter without a value in lines 471-474 and I'm too tired to search any more . If the EMail notification is turned off, the mod works flawlessly.
You can get the pop_movereply.asp (in text format) here.
The required modifications are simple enough:
In topic.asp, search for the following lines (appx 659-661):
end if
' DEM --> End of Code added for Full Moderation
end if Immediately afterward, add the following lines:
if ((AdminAllowed = 1) or (mLev > 2)) then
Response.Write " <a href=""JavaScript:openWindow('pop_movereply.asp?" & ArchiveLink & "&mode=MoveReply&REPLY_ID=" & Reply_REPLYID & "&TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & "')"">" & getCurrentIcon(strIconMoveReply,"Move Reply","align=""absmiddle"" hspace=""6""") & "</a>" & vbNewline
end if In inc_iconfiles.asp, search for the following line (appx 111):
Const strIconSendTopic = "icon_send_topic.gif|15|15" Immediately afterward, add the following line:Const strIconMoveReply = "icon_movereply.gif|32|15" Note: This uses the topic-split icon above in this topic. Save it in your images subfolder.(nice job)
That's all there is to incorporating the mod. |
Edited by - Carefree on 26 October 2004 00:57:22 |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 26 October 2004 : 02:11:31
|
uhm.... is that just to move a reply or to literally split a thread? |
-Stim |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 October 2004 : 02:42:07
|
That allows you to move one reply or all replies after a certain point. |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 26 October 2004 : 02:48:48
|
quote: Originally posted by Davio
quote: Davio: any news? (been looking for this mod for over a year now =)
You gonna have to wait a few more weeks.
Well.. If I've held out this long, I suppose I can manage a few weeks more ;)
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 26 October 2004 : 07:28:49
|
Thanks for the code CareFree, I'm testing this on mySql.
For mySql users
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [MySQL][ODBC 3.51 Driver][mysqld-3.23.57-nt]You have an error in your SQL syntax near 'select @@identity' at line 1 /snitz/mute_test/pop_movereply.asp, line 124
Quick fix:
Line 109
if strDBType = "access" then 'Access specific code Needs to be
if strDBType = "access" or strDBType = "mysql" then 'Access specific code
For everybody
Maybe the radio button needs to be a check box? (I haven't tested this yet) I found the problem
When I started writing a mod for this, I had something like this in mind. But after reading Davios first post I decided to go with selected replies. I've finished the sign-in and form. I'm just getting started on the database stuff. I'll use your code as a guide. It looks like I can use most of it . |
_-/Cripto9t\-_ |
Edited by - cripto9t on 26 October 2004 08:24:31 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 26 October 2004 : 08:41:03
|
Carefree I think this is the mod that depends on another mod to work correctly. It seems to work alright with 1 reply though . Multiple replies depend on a field called "R_THREAD" in the repy table. It looks it might work the way DaveMaxwell suggested in his post above.
It's still gonna save me alot of time and gives me an good idea of what all needs to be done. |
_-/Cripto9t\-_ |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 01 November 2004 : 00:48:48
|
Ok, for those of you who offered to help me out with the mod, this one's for you.
I want to display only 150 characters of a message. Anything after that is cut off and replaced with an elipses ...
Needs to be in vbscript. And if possible (not a must, but would be good) to not cut off the message in the middle of a word. But cut it off at the nearest space.
Thanks guys. |
Support Snitz Forums
|
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 01 November 2004 : 01:06:40
|
put this together real quick-like... might work havnt had a chance to test it, will do when I get done with my current project.
Function left150(string)
left150 = Left(string, (140+Cint(Instr(Mid(string,140,15)," ")))-1) & "..."
End Function
but to cut it off without worrying about spaces all ya gotta do is
Function left150(string)
left150 = Left(string, 150) & "..."
End Function
|
-Stim |
Edited by - Da_Stimulator on 01 November 2004 11:25:50 |
|
|
Topic |
|