PDA

View Full Version : Miscellaneous Hacks - Model Application


HMBeaty
03-24-2007, 10:00 PM
Well, first off, let me thank rogersnm over at vbhackers for helping me get this to work how I wanted.

Now, I thought of all of us car guys and whoever else might need this when I was making it. I know that when you shoot event coverage, you really want something (someone) to be in the picture with it, and whats better than your own models?

I believe this SHOULD work for 3.5.x versions as well as 3.6.x versions. If you find any bugs, please post them in THIS thread :).

Live DEMO (http://www.redlinemotorsports.org/forum/modelapp.php)

PLEASE DO NOT REMOVE THE COPYRIGHT!

Support will only be given to those who have clicked INSTALL :).

HMBeaty
03-25-2007, 03:19 AM
If you would like guests to be able to use this application, find in your modelapp.php

// Check Perms
if ($show['guest'] OR $vbulletin->options['redline_nova_model_application_options_on'] == 0)

And replace with

// Check Perms
if ($vbulletin->options['redline_nova_model_application_options_on'] == 0)

Shazz
03-25-2007, 03:37 AM
Alot like the form hack but 100% cooler
/me rates 5/5

HMBeaty
03-25-2007, 03:41 AM
Not really at all like the form hack :D

Lionel
03-25-2007, 06:53 AM
So all this does is store images in a folder and send out the info to you by email? No saving anywhere in database?

concepts
03-25-2007, 12:21 PM
sent you a PM Redline

also.. I changed that intro text you have Thank you for your interest in becoming a Redline Motorsports Model. in the admincp >> templates >> modelapp. but it is still showing the default? and there is no text on the actual php file included in the zip. So, where and how do I change it to suit my own preference?

Edit ::: there is confusion as it is placed in the template file... but I found it in the phrases.
is there a reason for that?

thanks

concepts
03-25-2007, 01:12 PM
small issue noticed...
if a models adds photos, hit send, yet an error is found, those photos are still sent, so as she corrects the error, then hit send again, those photos are then sent again...
if many people are submitting app's and not correctly filling the form out, this can be an issue as photos are duplicated every time the send button is hit.

scottct1
03-25-2007, 01:39 PM
Does it work good? I think you should post some of the pictures you have received so we know it works. :D

bitdefuser
03-25-2007, 03:49 PM
You can make this a "Moderator Application."

Just change some phrases and remove some boxes. :D

Shazz
03-25-2007, 04:18 PM
You can make this a "Moderator Application."

Just change some phrases and remove some boxes. :D

:confused:
ERrm...

Atakan KOC
03-25-2007, 04:40 PM
Thanks...

FRANKTHETANK 2
03-25-2007, 04:44 PM
how do i edit and get rid of all the redline text. I am help build a model site and this is exactly what we were looking for. But we need it all to say westvegagurlz. Can anyone help.

1sickek
03-25-2007, 07:50 PM
when completeing the form and then submit it...it uploads the pictures to my server but the info is not sent to my e-mail....can you help with this?

TunerNetwork
03-25-2007, 08:24 PM
Redline, i was trying to get them to build this same exact thing, thanks big time!!!!!

TunerNetwork
03-25-2007, 08:48 PM
how do i edit and get rid of all the redline text. I am help build a model site and this is exactly what we were looking for. But we need it all to say westvegagurlz. Can anyone help.

In your admincp, go to Languages & Phrases drop down menu, do a phrase search, and put in Redline Motorsports. It will then bring up the corresponding phrase, edit it to your likings

TunerNetwork
03-25-2007, 08:57 PM
where does the submission get sent to? and how do we mess with that? can we have it sent to a specified forum??

d8tabyte
03-25-2007, 09:46 PM
I'll wait until a better phrased version is made. (no need to edit phrases). Also a good thing would be to include a model release saying "by submitting the form they are agreeing to the model release" and have a separate pop up link (something like a 300x300 window) that would include a generic model release, or even have it so they click next, the form comes up in the next window and they have to click "I agree" before the form is sent.

Discussions
03-25-2007, 09:53 PM
You can make this a "Moderator Application."

Just change some phrases and remove some boxes. :D


I agree! That was exactly what I was thinking as soon as I saw it on the live site. Will be installing and using as a Moderator Application.

TunerNetwork
03-25-2007, 10:49 PM
Im looking to make a page, kind of like a profile page, where I can submit the model's submitted info into, and make a profile page to actually display their info and photos. Any suggestions on how best go about this.

I like this hack, I think alot can be done with it.

ro_manuel
03-25-2007, 10:55 PM
You can make this a "Moderator Application."

Just change some phrases and remove some boxes. :D


" i tried that, and it didnt work out. I also had a programmer look at it, cause hes familiar with it and doesn't think its worth it. He says its rather to make a new one.

TunerNetwork
03-25-2007, 11:04 PM
Does anyone know where this gets sent to when you click on submit? Redline, can you let me know what I need to edit in order to get this to email to me. Or can we make it post it in a new thread in a forum we specify?

concepts
03-26-2007, 03:44 AM
Does anyone know where this gets sent to when you click on submit? Redline, can you let me know what I need to edit in order to get this to email to me. Or can we make it post it in a new thread in a forum we specify?

in your admincp >> VB options >> model application
there is a box for you to add the email address you'd like the information sent to.

TunerNetwork
03-26-2007, 02:04 PM
Thanks, now just working on a profile page to display the info in

TunerNetwork
03-26-2007, 02:38 PM
Now, any way I can get a graphic log on the top of the application page. When i insert the graphic code into the xml file, doesnt show, and i cant put it in the modelapp.php cause I then get an error.

HMBeaty
03-26-2007, 10:47 PM
when completeing the form and then submit it...it uploads the pictures to my server but the info is not sent to my e-mail....can you help with this?

Go to your admincp > vbulletin options >

edit the email you want it to send to

TunerNetwork
03-27-2007, 04:46 AM
<a href="http://www.tunernetwork.com/forum/modelapp.php" target="_blank">http://www.tunernetwork.com/forum/modelapp.php</a>

That is my app page, I added some more boxes and more photos. If anyone needs help, I got the hang of this one now, just let me know.

FRANKTHETANK 2
03-27-2007, 06:05 AM
In your admincp, go to Languages & Phrases drop down menu, do a phrase search, and put in Redline Motorsports. It will then bring up the corresponding phrase, edit it to your likings

Thank you and sorry for editing your stuff redline but this is actaully going on a modeling site and i cant have redline on it lol

HMBeaty
03-27-2007, 09:08 PM
Thank you and sorry for editing your stuff redline but this is actaully going on a modeling site and i cant have redline on it lol

Thats why I added
4. Edit the phrases in the template "modelapp" to your desire
In the install instructions ;)

On a side note,

ALL USERS, PLEASE DO NOT REMOVE THE COPYRIGHT!

HMBeaty
04-04-2007, 04:59 PM
Updated to 1.1.0

Most of the settings are now done via the options in the vbulletin options menu

SoftDux
05-19-2007, 03:04 PM
This is probably NOT supposed to happen, when I try out the DEMO


Warning: Division by zero in /includes/functions.php(5129) : eval()'d code on line 10

Tearstone
05-19-2007, 03:24 PM
Live demo not working so well: Warning: Division by zero in /includes/functions.php(5129) : eval()'d code on line 10

HMBeaty
05-19-2007, 09:38 PM
Thanks guys. I think this may have happened when I upgraded. I'll work on it later tonight

HMBeaty
05-19-2007, 09:57 PM
Ok, it is fixed now.

Mrdby
05-22-2007, 07:49 PM
3.6.7???

HMBeaty
05-22-2007, 09:00 PM
Works perfectly fine with 3.6.7+

krazycivik
06-01-2007, 02:57 PM
yah i cant seem to get it working.. wont show anywhere on the forums... i cant chmod 777..
i can see it in the admincp but other than that negative.

ragtek
06-01-2007, 03:27 PM
hi

define('NO_REGISTER_GLOBALS', 1); is not needed

krazycivik
06-01-2007, 03:35 PM
need better instructions.

HMBeaty
06-01-2007, 08:21 PM
need better instructions.
How so? If you can't understand the instructions in this package, you should get someone to install everything for you. It's only uploading a file to your forums root, and importing the xml in the admincp. What are you looking at that you don't understand?

geevest.com
06-06-2007, 04:54 AM
btw why not make gallery for this application...

krazycivik
06-07-2007, 11:24 PM
ok ive installed it again seems to be fine but i cant find it. and i already edited it in the admin cp.. any idea? cant see it on my forums.. http://www.torontonissan.ca/forums/index.php

o0Hubba0o
06-07-2007, 11:36 PM
I have no need for this mod really, but I had to stop in and say what a great idea, good job guys.

HMBeaty
06-08-2007, 12:31 AM
ok ive installed it again seems to be fine but i cant find it. and i already edited it in the admin cp.. any idea? cant see it on my forums.. http://www.torontonissan.ca/forums/index.php
Did you upload the modelapp.php file?

This is where it should be......

http://www.torontonissan.ca/forums/modelapp.php

krazycivik
06-08-2007, 06:39 PM
awsome man it works.. thanx a million..

StuntFactoryX
07-16-2007, 03:27 PM
http://www.tunernetwork.com/forum/modelapp.php

That is my app page, I added some more boxes and more photos. If anyone needs help, I got the hang of this one now, just let me know.

can ya fill us in... i would like to ad myspace url and edit a few... like "car show" to say somthing different?

tipoboy
07-28-2007, 10:22 AM
just installed on 3.6.8 and got this error any suggestions??

Warning: move_uploaded_file(images/model_images/1-1185621624-1.jpg) [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: failed to open stream: No such file or directory in /modelapp.php on line 202

Warning: move_uploaded_file() [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: Unable to move '/tmp/phptNPpuK' to 'images/model_images/1-1185621624-1.jpg' in /modelapp.php on line 202

Warning: move_uploaded_file(images/model_images/1-1185621624-2.gif) [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: failed to open stream: No such file or directory in /modelapp.php on line 202

Warning: move_uploaded_file() [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: Unable to move '/tmp/phph3Wpqq' to 'images/model_images/1-1185621624-2.gif' in /modelapp.php on line 202

Warning: move_uploaded_file(images/model_images/1-1185621624-3.jpg) [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: failed to open stream: No such file or directory in /modelapp.php on line 202

Warning: move_uploaded_file() [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: Unable to move '/tmp/php5Mf7f7' to 'images/model_images/1-1185621624-3.jpg' in /modelapp.php on line 202

tipoboy
07-28-2007, 11:21 AM
just installed on 3.6.8 and got this error any suggestions??

Warning: move_uploaded_file(images/model_images/1-1185621624-1.jpg) [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: failed to open stream: No such file or directory in /modelapp.php on line 202

Warning: move_uploaded_file() [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: Unable to move '/tmp/phptNPpuK' to 'images/model_images/1-1185621624-1.jpg' in /modelapp.php on line 202

Warning: move_uploaded_file(images/model_images/1-1185621624-2.gif) [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: failed to open stream: No such file or directory in /modelapp.php on line 202

Warning: move_uploaded_file() [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: Unable to move '/tmp/phph3Wpqq' to 'images/model_images/1-1185621624-2.gif' in /modelapp.php on line 202

Warning: move_uploaded_file(images/model_images/1-1185621624-3.jpg) [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: failed to open stream: No such file or directory in /modelapp.php on line 202

Warning: move_uploaded_file() [function.move-uploaded-file (http://scottishwheelnut.co.uk/forum/function.move-uploaded-file)]: Unable to move '/tmp/php5Mf7f7' to 'images/model_images/1-1185621624-3.jpg' in /modelapp.php on line 202

Nevermind wored it out!!

just a small note maybe you should make your instalation.txt a little clearer

1. Upload the contents of the upload folder to the root of your forums.

clearly the model_images folder should be in the images directory and not the root of your forum, but great hack none the less!!

thanks

txsbmw
09-07-2007, 04:54 PM
Works great! I am using it for a volunteer application:

Anyway to restrict it to a per usergroup basis? Basically I do not want banned and guest users to use the form.

SpeedJunkyz
05-09-2008, 10:38 PM
can someone help me please......

It won;t let me upload the empty modelimages folder..... to my forum root.....what did I do wrong?

SJ

SpeedJunkyz
05-10-2008, 01:48 PM
any one hooome hello hello hello there is an echo in here haha jk

g0dfather1984
06-01-2008, 02:54 AM
Thank you! Works well!

Can anyone tell me if there is a way to change what the moderator policy says?

SpeedJunkyz
06-17-2008, 05:49 AM
A little confused. I have it on but do not see where it is on my forum....

www.speedjunkyz.info