21
kjs222
mishandled apostraphe in admin/users/users.php
  • 2004/3/31 0:38

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


In current version (as of March 30th); if an administrator tries to edit a user name that includes an apostraphe (') then the updateuser() function of modules/system/admin/users/users.php will treat the user name as:

"my/'user"

instead of:
"my'user"

In my case, this caused the function to throw an error. I found it could be solved by adding the following (current cvs line number):

Line 179: $uname = str_replace("\\", "", $uname);



22
kjs222
last_login messing up???
  • 2004/2/15 13:59

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


I just had one of my site admins report to me that there are users who have logged in and posted newbb posts within a couple weeks; yet their users' entry for last_login shows mid-december.

Has anyone seen this? Could this be a result of time set wierd on the user's computer? Could it be some session variable not being activated due to computer settings? What file makes the record of a user's last login?

Any help would be appreciated,

Thanks,
Keith



23
kjs222
Re: displaying spreadsheets
  • 2004/2/3 2:19

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


from:
http://stupidityinmotion.com/themes/Zaja_Blue/style.css

table td
{
padding: 0;
border-width: 0;
vertical-align: top;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

So, in short; yes: you are right. The bigger question is what are you going to do about it? You most certainly don't want to make the value in the CSS document 1 (that'd be horrific for the rest of your site)... so instead you need to localize the border somehow to this particular table. Unfortunately I'm not great with CSS :(.

So, you have two options:

1. Play around with CSS, and either:

a: alter your html and put in individualized CSS tags for every td, which might overright the problematic global tag (DIRTY solution)
b: create a new CSS class in your CSS document with the correct table definitions and assign this particular table that class... I don't know how to do this properly, but if you're persistant you can probably get it... I recommend copying off of the other specific classes.

or 2. Wait around until someone can tell you the exact code to do it!

In any case, good luck.

Keith



24
kjs222
Re: Recommendation for a job advert module?
  • 2004/2/3 2:05

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


What's a CV?

The only module I can think of is a classified module (search for it; I'm sure it's out there... might be called "MyAds"), but I don't know if that fits in with what you're looking for.

Having said that; I think it's a great idea. I have some interesting twists to add to the brainstorming:

A) Have submission / management of the job postings group-based (I know this sounds obvious, but I'm particularly interested in giving NON-ADMIN users the ability to submit/edit/delete their own postings).

B) Integrate with some sort of ContactX module allowing job posters to request online RFP/Applications/Resumes in a web form - and emailed discreetly to the offeror.

C) This is related somewhat to my idea on thread:

old topic

And it is that I want the "wheeling and dealing" group on my website (those who are offering jobs/RFPs) to have an expanded profile with WYSIWYG editor for their own pages given appropriate permissions.

D) Obviously all these could be integrated into the great xdirectory module (yellow pages).

E) Create an "Extended Profile" page that integrates all these interesting module bits for each eligible user... it'd be like each user's personal site / business front, and would allow users to share more about themselves, to cross-reference ideas with job opportunities and locations, and to get people more intimately involved in the community... An avatar is great; but a bio is much more interesting!

Haha, so, those are my ideas. Hopefully when the moddev site gets up there'll be devs interested in deving it! If not then I'll have to suffice with the already tremendous modules we have out there.

Cheers,
Keith



25
kjs222
Re: PiCal all day event difficulty
  • 2004/1/22 18:03

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


FIX #1
piCal.php-3561

Origional:
if( $start <= $event->start ) continue;


Modified:
if( $start <= $event->start+150000 ) continue;


This fixes the problem where on all day events the first day has two entries (one for the origional entry, one for the first recursion).


FIX #2

piCal.php-3488

Origional:
$duration $event->end $event->start ;


Modified:

if ($event->allday) $duration=1;
else $duration = $event->end - $event->start;


This fixes the problem where all-day events span two days when recurrant on yearly basis.



Please note that for both fixes above they only effect yearly recursion. Very likely monthly and daily recursion have the exact same problem. I'm sure GIJOE and others familiar with the code will quickly see where else this fix is needed. I hope the change is quickly implemented into the module and a new release follows shortly.

Happy Xoopsing,
Keith



26
kjs222
Re: PiCal all day event difficulty
  • 2004/1/22 18:00

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Well, I finally banged my head on this long enough to figure out the bug:

(I am referring to piCal .60... it is likely the same lines exist and need editing in .50 as well. You can find them by searching for the origional line in the piCal.php code).

I have had to break up the solution into seperate posts due to bb post error (I think it's a Safari/mac bug)



27
kjs222
Re: PiCal all day event difficulty
  • 2004/1/22 17:02

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


One more piece of information; the problem only happens for months after April... odd.



28
kjs222
Re: PiCal all day event difficulty
  • 2004/1/22 16:55

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


As feeble as it seems, I have tried to navigate through www.xoopscube.jp and found this thread:

http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=2568&forum=17#forumpost13747

It looks like it might deal with the issue I am discussing... but the online translators don't do a good job... can anyone translate and tell me if this could solve my problem?

Thanks,
Keith



29
kjs222
Re: Bookmarks Module?
  • 2004/1/22 15:38

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Thanks for the clarification. I agree with Wardick that this'd be a cool addition to myLinks... I've often wanted something like this created that does more than just links... that allows every user their own WYSIWYG edited page(s) the content of which they maintain, and the permissions of which they can modify. That way people can put up their own mini-sites on your site. This'd be great for paying members who want to put up info for whatever they're selling.

The only other feature I can think of that allows for this type of fucntionality is the weBlog module, which allows users their own space to write up their own (private) posts of information. I realize it's not a perfect fit, but it's an easy install!

Good luck,
Keith



30
kjs222
Re: I have several questions... Please help
  • 2004/1/22 15:31

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


With the forums... do you just want "private forums"? I guess I'm unclear of what you're interested in. Private forums allow you to specify which groups/members can access them.

I'm not sure what you want to do with the side bar links, but I can tell you they are reffered to as "blocks" and can be modified through the Admin -> System -> Blocks admin area. You can create your own block at the bottom of the blocks admin area.

As for your gallery problem, it smells like a permissions problem; just to make sure, have you followed the instructions on how to install xc, particularly which files to CHMOD? Your album folder (and subfolders and subfiles) likely need chmodded to 777. There might be other files in your module that need chmodded too.

Hope that helps,
Keith




TopTop
« 1 2 (3) 4 5 6 ... 11 »



Login

Who's Online

145 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits