Welcome, Guest. Please login or register.

Author Topic: Latest Posts restored (updated)  (Read 4821 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline DanDude

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 505
    • Show only replies by DanDude
Re: Latest Posts removed
« Reply #14 from previous page: February 13, 2004, 03:26:27 PM »
Good thing you guys caught it in time.

Well Done!  :-)
#AmIRC
mesra.dal.net or hotspeed.dal.net
irc2.beyondirc.net
 

Offline Targhan

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 818
    • Show only replies by Targhan
    • http://www.geocities.com/targhan_aga
Re: Latest Posts restored (updated)
« Reply #15 on: February 13, 2004, 05:17:01 PM »
Wow, I never even thought to look for a security hole in this module.  The original developer's homepage has long since dissapeared....
Regards,
Targhan
 

Offline Targhan

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 818
    • Show only replies by Targhan
    • http://www.geocities.com/targhan_aga
Re: Latest Posts removed
« Reply #16 on: February 13, 2004, 05:43:23 PM »
Ah! I see now.

@DaveP:
Thanks!  Do you think shoving $arr["forum_name"] through $myts>makeTboxData4Show would help further, or would that be a waste of time in your opinion?

--
Targhan
Regards,
Targhan
 

Offline DaveP

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2116
    • Show only replies by DaveP
Re: Latest Posts removed
« Reply #17 on: February 13, 2004, 05:47:00 PM »
@Targhan

I think its probably overkill as only you or authorised people can set the forum name :-)
Hate figure. :lol:
 

Offline Targhan

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 818
    • Show only replies by Targhan
    • http://www.geocities.com/targhan_aga
Re: Latest Posts removed
« Reply #18 on: February 13, 2004, 05:53:00 PM »
@DaveP
Heh, I can be dense sometimes too!   Like I'll go around posting JS in the forum name... :-P  Anyway, thanks again for pointing that out.
Regards,
Targhan
 

Offline DaveP

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2116
    • Show only replies by DaveP
Re: Latest Posts removed
« Reply #19 on: February 13, 2004, 06:18:57 PM »
No worries, when we figured it out we went round paranoid looking at all the fields also :-)
Hate figure. :lol:
 

Offline Targhan

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 818
    • Show only replies by Targhan
    • http://www.geocities.com/targhan_aga
Re: Latest Posts removed
« Reply #20 on: February 13, 2004, 07:07:47 PM »
Hah!  It's really making me want to go through every line of code throughout the Xoops systems :-P
Regards,
Targhan
 

Offline Argo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3219
    • Show only replies by Argo
Re: Latest Posts removed
« Reply #21 on: February 13, 2004, 08:16:03 PM »
I assume someone has mentioned this on Xoops.org. It's always nice to cycle back such info, patches, etc. to that which you use for free.
 

Offline DaveP

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2116
    • Show only replies by DaveP
Hate figure. :lol:
 

Offline System

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Latest Posts removed
« Reply #23 on: February 13, 2004, 10:37:20 PM »
@Targhan,

Good luck at trying to make sense of the Xoops code (either version).  Honestly, I don't have time to write my own so I can't bitch, but looking at the code for certain things like viewpmsg.php will drive you insane with the author swapping out his use of " and ' for quotes almost every line.

EVERY module I see is like that.  Impossible to trace.  This is what you get with open source code projects though, so based on that, I'm glad to see OS4 not go Open Source.  

Well, that's not true, I think 3.1 should have been released open source, but I'll give Ben the benefit of doubt that OS4 is a different creature (which just LOOKS exactly like 3.1  :) )

Wayne
 

Offline Argo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3219
    • Show only replies by Argo
Re: Latest Posts removed
« Reply #24 on: February 14, 2004, 03:16:11 AM »
They don't have a code writing style guide?
 

Offline Targhan

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 818
    • Show only replies by Targhan
    • http://www.geocities.com/targhan_aga
Re: Latest Posts removed
« Reply #25 on: February 14, 2004, 07:57:22 AM »
@Wayne

I hear ya.  I've been through that routine before with the " and ' in the PM system.  

For that fanfiction site I'm tinkering with, I've been hacking on one of the modules from day one--and, it had nothing to do with Amiga/MOS compatability!  Things like anonymous reviews, and no way to delete the reviews without axing the article they were attached to.  A royal pain for my "off work" time.  

Then again, anytime I visit fanfiction.net, I'm reminded of why I started the site.  I **hate** sites that try to install useless software on my machine--and I was using IBrowse the last time it happened at ff.net for crying out loud!  <>
Regards,
Targhan
 

Offline KentTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 680
    • Show only replies by Kent
    • http://amiga.org/modules/mylinks/visit.php?lid=87
Re: Latest Posts removed
« Reply #26 on: February 14, 2004, 02:25:42 PM »
There's absolutely no "code style" enforced from what I've seen.  Granted LastPost v2 is going to be my first module for xoops, it's also the very first serious work I've done in PHP.  I'm using a strict code style that I'm already familiar with from other projects.  For example:

String strName = "string of text";
char = 'a';
for (int i = 0; i < strName.length(); i++) {
  ...;
} // Notes of "for loop"

It's the default code style found in Java, but I take it to a further extreme--putting spaces between operators, notes always at the end of a loop, whitespace after deliminators (ie ';'), and /** block commenting complete with @params */.  It's something I learned about four or five years back working with Roj in ARexx.  If you can't lock down a code style, half the work will be sloppy as all hell.

:pint:
I love the modern age world of this middle age crises America... all these SUVs driving around like there\\\'s gas to spare and then some.

http://www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com