1
exbanious
Re: [Module Request] "Car Garage" module (2)
  • 2007/7/19 1:56

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


not sure what all you are looking for as an explanation, but the gallery is set up per user. a folder is made when they first create their profile, and all images are placed in it. the thumb vs large image functionality on the user side is a simple javascript snippet.

also, i just finished working on functionality to add folders, where users can add up to 36 images in 3 folders.

i'd like to contribute to some dev on this, my availability is somewhat limited however. been working on music lately, and trying to get a full album together as well shows. plus i've got a few side projects, developing a site and making a theatre module for this theatre company. whowantscaketheatre.com if you feel like checking it out.

anyway, as it progresses, let me know, perhaps i can add something to it..



2
exbanious
Re: [Module Request] "Car Garage" module (2)
  • 2007/7/18 16:07

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


I'll send that out to you in a few minutes.

you know the thought of using vin numbers ran through my mind at first when i trying to figure out how to do it, but my initial intention for the site was to use as a classics and hotrod site, and vins weren't really a standard until the late 70's or so, so much of the information wouldn't have worked.

it would be a great idea for newer vehicles.
that link has some really good information.



3
exbanious
Re: [Module Request] "Car Garage" module (2)
  • 2007/7/18 15:26

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


hey billy, i'll send that out to you right now.

the module was all pretty much from scratch. about a year out of my life, and many a sleepless night. as it was the first module i ever created, i had little to no idea what i was doing. i did steal the uploader from the news module, and the image manipulation/resize from myalbum. aside from that just random scripts and ideas from other sites.

for the make/model entry, its really just two tables.
one for the makes, and one for the models. the model table holds the relational data to the makes table and also whether or not it is active or waiting.

to administer that part of it, i built it into the admin side of the module. it shows any new submissions and also lets me know if there are duplicate entries.

all the recent talk about a garage module has me thinking about continuing development to release it.....



4
exbanious
Re: [Module Request] "Car Garage" module (2)
  • 2007/7/18 3:25

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


just skimming through this forum a bit...
i was having a real hard time when making my car module on how to include makes and models.

i compiled what seemed, to me anyway, to be a rather comprehensive list.
i'm sure there are plenty missing, but i can email the sql or excel file to somebody if you like. just pm me with the email address.

to add models, i made a form where users could submit models for each make, and then upon verification by an admin, it could be added to the pool. i also have it set so users could either choose from the list, or add a new one when filling out the car info. then it notify me so i could approve its addition to the list.


Heres the link. to what i have setup on my site.

hopefully this helps some in your endeavors.



5
exbanious
Re: Forms and time select
  • 2007/7/12 21:31

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


i should have been more clear....
this works on 2.2.*, but when i just tested it on 2.*, the time seems to work correctly, but the calendar shows up wrong initially. (meaning, it shows default date as 1969))
it did seem to save correctly for me though. on extcal and news.

not sure about your situation though.
is the calendar date and time displaying correctly when you edit a user's profile?

everything after XoopsFormDateTime is using the wrong form elements in your code.

try this:

$dob_text = new XoopsFormDateTime_US_DOB'dob'15$xoopsUser->getVar('dob''E')));


i think it should work(?)

depending on how you have saved the dob data the first time, it won't show up correctly in the calendar unless its was saved as unix timestamp format originally, however it should update the info when it is saved.

hope this helps..



6
exbanious
Re: User list not showing...help pls?
  • 2007/7/7 16:29

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


It should show the list in alphabetical order. You might try re-uploading "pmlite.php" to your root directory.
Also, turn your debug on and see if it throws any errors.



7
exbanious
Re: Forms and time select
  • 2007/7/7 2:37

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


So after some time, I have been able to answer my own question .
Just in case others wish to show XoopsFormDateTime in a 12 hour (ie. 8:00 AM, 5:00 PM) format minus the 15 minute intervals. It's sloppy code, I know, but it seems to work. However, use at your own risk... it works alright for extcal.

Change your XoopsFormDateTime.php to this:



function XoopsFormDateTime($caption$name$size 15$value=0)
    {
        
$this->XoopsFormElementTray($caption' ');
        
$value intval($value);
        
$this->addElement(new XoopsFormTextDateSelect(''$name.'[date]'$size$value));
        
$timearray = array();
        for (
$i 0$i 24$i++) {
            for (
$j 0$j 60$j $j 60) {
                
$key = ($i 3600) + ($j 60);
                if (
$i 1){
                    
$t 12;
                    
$timearray[$key] = ($j != 0) ? $t.':'.$j $t.':0'.$j.' AM';
                } else if (
$i 12 ){
                    
$timearray[$key] = ($j != 0) ? $i.':'.$j $i.':0'.$j.' AM';
                } else if (
$i == 12) {
                    
$t $i ;
                    
$timearray[$key] = ($j != 0) ? $i.':'.$j $t.':0'.$j.' PM';
                } else if (
$i 12) {
                    
$t $i 12;
                    
$timearray[$key] = ($j != 0) ? $i.':'.$j $t.':0'.$j.' PM';
                }
            }
        }
        
ksort($timearray);
        
$datetime $value getDate($value) : getdate(time());
        
$timeselect = new XoopsFormSelect(''$name.'[time]'$datetime['hours'] * 3600 600 ceil($datetime['minutes'] / 10));
        
$timeselect->addOptionArray($timearray);
        
$this->addElement($timeselect);
    }



8
exbanious
Re: Mainfile.php Error.
  • 2007/7/7 2:03

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


Just to add to BroHam's post, make sure that you delete that chmod.php file afterward...



9
exbanious
Re: xcGal 2.02
  • 2007/6/24 18:31

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


scroller1 = new scrollerObj(0,0,125,150,"center","holder");


did you try changing 125 to 150?



10
exbanious
Re: To Admin - Spammer Targeting Xoops sites
  • 2007/6/18 2:02

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


This gets even more strange.
I installed captcha on 2.2.* and it seems to work fine. along with protector, it even kept out most register.php spam attempts, as viewed through the protector logs, however, the other day i noticed one registration was completed even with the captcha in place.

they did not activate the account, but it seems odd that they were able to get that far. it was the same username characteristics that have been hitting XOOPS sites lately. new ip sets, of course.


anybody else have this happen?




TopTop
(1) 2 3 4 ... 8 »



Login

Who's Online

181 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 181


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