PDA

View Full Version : Resume


pyro.699
09-28-2005, 10:00 PM
Are you sick of people nagging at you for a mod position?

Hey, can i be an admin ;)


How many of you have had that happen /;

Well, this mod will elimanate(sp) that! Instead of them asking you for a position they fill out a handy "resume". It has a javascript text counter! (really kool!)

Dont take my word for it! download it now!

*Click Install*

Files to edit: 1
Querys 2 run: 1
Files to upload: 1
Templates 2 make: 1
---------------------
Features:

They cannot do more than 1 resume.
Minimum of 50 posts to do resume.
Must be a member!
Admins can by-pass the 50 post requirement (for testing purposes)
Feilds: *Check screen shots*
Required feilds (name requires numbers only)
---------------------

I would like to thank AJ, he was a big help!

---------------------

If you find any bugs, lme know!

Note: you need to edit your own template!

pyro.699
09-29-2005, 09:22 PM
If you are wondering what the query is for i will tell you....

as when the e-mail is being sent to your... e-mail... it genetates a query.. changing the default # of 0... to 1....

at the beginng of the script it checks make shure that the user attempting to access the page... dosent have a 1 in his table...
---------------

dieselpowered
09-29-2005, 09:27 PM
Hmmm interesting...well when I get the site up and running and people start posting maybe I will add this :)

Well done!

MissKalunji
09-29-2005, 10:02 PM
Very intresting will install and let u know how everything went

pyro.699
09-29-2005, 10:04 PM
Thanks ^^

umm, can someone just verify that it works?

lol, i had to make the query up from memorie.. and idk if it works...

MissKalunji
09-29-2005, 10:15 PM
installed....good

whats this for : ALTER TABLE `user` ADD `resume` int(1) NOT NULL default '0';?

Andreas
09-29-2005, 10:20 PM
@pyro.699
You should try to convert this Hack into a Product; would make it way easier to install:
- No manual Template additions
- No File Edits
- No Queries to run

Checkout https://vborg.vbsupport.ru/showthread.php?t=92953

Also, you should use standard_error() for error mesaages.

And if you want to make it perfect, replace all hardcoded Text with Phrases :)

pyro.699
09-29-2005, 10:36 PM
i would have done products ^^ except i find them extreemly hard 2 do.. ill check it out tho... and i liek my current erro ^^ it looks kool!



"And if you want to make it perfect, replace all hardcoded Text with Phrases :)"
??? whats that mean?

Andreas
09-29-2005, 10:38 PM
Products are fairly easy once you understood the concept ;)

Phrases ... currently you hav all Text hardcoded, which makes it difficult to be replace (with translated text or alternative versions).
If you use Phrases instead, this would be easy.

Vizionz
09-29-2005, 10:43 PM
this hack would of been better if it posted the results on forum instead of through email. should look at the report hack that sends the report to a forum instead and use the same type of system to do this

MissKalunji
09-29-2005, 10:44 PM
installed....good

whats this for : ALTER TABLE `user` ADD `resume` int(1) NOT NULL default '0';?


n e one?

Adrian Schneider
09-29-2005, 10:47 PM
n e one?

It just keeps track if the user has submitted a submission yet.

SixSeries
09-29-2005, 10:55 PM
were do I go to activate it? I uploaded it to forums folder... the php file and did all edits... so whats up

jesus likes pie
09-29-2005, 10:57 PM
handy

/me clicks install

pyro.699
09-29-2005, 11:06 PM
If you read the bottom of the post, i said, you ahd to edit your own nav bar, but, i guess ill five you teh code any ways ^^

Find:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>


Add Under:

<td class="vbmenu_control"><a href="resume.php">Resume</a></td>

MissKalunji
09-29-2005, 11:07 PM
It just keeps track if the user has submitted a submission yet.


Thx :nervous:

Adrian Schneider
09-29-2005, 11:09 PM
You may want to do something like:
<if condition="!$vbulletin->userinfo['resume']"><td class="vbmenu_control"><a href="resume.php">Resume</a></td></if>
This would just hide the option to users who have done it already.

jesus likes pie
09-29-2005, 11:12 PM
Umm I made a resume as a test and I never got an email?

Yes, I edited the php file.

pyro.699
09-29-2005, 11:29 PM
MY bad!

ok, check to see if your e-mail is correct... heres mine...

mail("cody.woolaver@gmail.com","Resume Submitted",$message,"From: Celia.net");

SixSeries
09-29-2005, 11:30 PM
how do I make it so that they can submit a resume no matter the post count.. or what do I remove, better yet to accomplish that

pyro.699
09-29-2005, 11:34 PM
to remove the post count you do this

Remove Line# 25-29

jesus likes pie
09-29-2005, 11:57 PM
MY bad!

ok, check to see if your e-mail is correct... heres mine...

mail("cody.woolaver@gmail.com","Resume Submitted",$message,"From: Celia.net");


I already edited the email but it doesnt send one...

SixSeries
09-30-2005, 12:13 AM
to remove the post count you do this

Remove Line# 25-29

mind telling me how I find a line ? lol

pyro.699
09-30-2005, 12:13 AM
Hmmm.... did you edit anyhitng else?


and is any 1 else having this problem?



ok, if you have im contacts... look t my profile and im me... and ill help ya figure this out...

------------

oh, sorry... i use Notepad++... it has the #s on the side ^^


if ($vbulletin->userinfo['posts'] < 50 AND !is_member_of($vbulletin->userinfo, 6))
{
$errormessage = "Sorry, but we require you to have a minimum of 50 posts to do a resume.";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}

^That is the code you want to delete^^

GrendelKhan{TSU
09-30-2005, 03:44 AM
And if you want to make it perfect, replace all hardcoded Text with Phrases :)

I'm with kirb on this one. I NEED phrases since I have a bi-lingual forum.

;)

looks useful though...so I'll definitely install if you can do the phrases. :)

yinyang
09-30-2005, 06:04 AM
I used to run a CS community. This would be a good clan tool. For 1) People wanting to join your clan and 2) For those who wish to be a game server admin.

Instead of the word Resume, it is more like an Application don't you think? or maybe Form, Inquiry, Petition.....

great work!

pyro.699
09-30-2005, 09:14 AM
Myby kirby could gime a hand!

I looked that that link that kirby gave me... and .... i dident really understand it ^^

jugo
09-30-2005, 02:50 PM
Nice idea. I have this running in one of the forums I manage, but I use Erqin's Form hack. Which sends an email, creates a post and sends a PM.

Would be nice if it set the "1" in the table as well...

pyro.699
09-30-2005, 06:37 PM
i can do that aswell ^^

want me to?

Creed
09-30-2005, 08:18 PM
Just some ideas for you, I haven't installed it but may in the near future when I have a need for it.

1. Phrases (which has already been said) would make it useful for more than just the niche you are using it for.

2. Allow it to create a poll for users to vote on, such as 1. Hire/Accept 2. Deny. You could give the option to specify what forum this goes into, and could only be accessed by specific usergroups, etc.

3. Product (again was said before), would make it much easier to use, and would last through any upgrades done through Jelsoft.

utw-Mephisto
09-30-2005, 10:33 PM
I get the mail, but the position won't be displayed :


Name: rwerwerwerwerwe
Account: utw-Mephisto
Posts: 2147484048
E-Mail: xxxxx
Sign-up E-mail: xxx
Referals
Aim:
Yahoo!!:
MSN:
ICQ: 0
Age: 34343
Reason: sdfsdfdsfsdf
Prefered Position:

pyro.699
09-30-2005, 10:37 PM
hmm, lme check this... it should sho it...

ill edit this post


Name: 436
Account: Pyro
Posts: 32
E-Mail: 636
Sign-up E-mail: pyro.699@gmail.com
Referals:
Aim: 2453
Yahoo!!: 352
MSN: 52
ICQ: 523
Age: 123
Reason: BECAUSE
Prefered Position: Admin


it should be working... idk what wrong with it...

utw-Mephisto
09-30-2005, 10:40 PM
weird since the php code looks ok

pyro.699
10-01-2005, 01:32 AM
Id like to add.. that if any1 has troubles... i donot block peopl form my lists... i still have people who scammed me 3 years ago on my list... and bots aswell... so add me.. and i can try to help you out as best as i can

i dont really like this way of helping people... i like direct ''''''Contact'''''' lol...

Anette
10-01-2005, 10:34 AM
Thank you. Working just fine! :)

csidlernet
10-05-2005, 02:49 AM
thankyou very much!
/me installs

hotrod1
10-10-2005, 12:41 AM
Cool hack, clicks install :)

Lea Verou
10-10-2005, 01:33 AM
I would have installed it if it had phrases, was a product, didn't have bugs (as I saw from the posts) and had better support...

lamilein
10-10-2005, 12:09 PM
handy hack, but as kirby stated - it would be even better as a product

some things that would make this a "real" resum? and even more handy:

* Vizionz note about generating a thread in a forum for an application instead of sending an email (https://vborg.vbsupport.ru/showpost.php?p=782155&postcount=10)
* the opportunity to add custom fields (see vBulletin userprofile options)
* some backend where you can send pre-fabricated answers like "sorry, we don't need applications in this field at the moment" or "we're sorry but your references do not meet our expectations")

that would be handy for many ppl :)

Paul_Hollibone
10-10-2005, 11:44 PM
Can I make a suggestion?

Have the ability to make a full on backend, by being able to add form entries such as "On a level from 1-10, how experienced are you with website developments"?
Add the ability to disable it, and open it.
Add the ability to open up positions specified by the admin at the time of opening a position, and to apply for the position, you have to use the resume.

Otherwise I like the idea.

If someone could build on it, it would be fantastic.

evenmonkeys
10-26-2005, 06:37 AM
Possible to create a thread instead of making an email?

iceytdot
10-27-2005, 10:20 PM
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'mel_in.user' doesn't exist

i got that after running the query in the admincp?????? what i gotta do to get this to work

evenmonkeys
10-28-2005, 04:45 AM
When it sends the email, it's not sending the preferred position or the amount of referrals.

Also, can you make it so it makes a thread instead? And possibly allow for a user to look the form over before submitting it?

pyro.699
11-06-2005, 03:50 PM
sorry, i ahvent been on here lately.... as to kirbys post, im going to turn this mod into a product, so ;) no uploading files and what not....

i have been testing with the make new thread..... i have everythign working, accept for the query, on teh index page, that tells you is theres a new post or not :S

fabianv
11-14-2005, 11:49 PM
Why am I the only bloody person that doesnt know where to go after theyve installed it?
How do you use it?
O_O

MissKalunji
11-15-2005, 01:51 AM
Why am I the only bloody person that doesnt know where to go after theyve installed it?
How do you use it?
O_O


www.yourdomain.com/forum/resume.php

Advice-Central
12-03-2005, 06:25 PM
Hello!

The email message does not display the preferred position.

Have you managed to rectify this problem?

Thanks in advance,

Advice-Central

Mastar
12-03-2005, 07:22 PM
Does this work for vb 3.51

MissKalunji
12-03-2005, 09:40 PM
Does this work for vb 3.51

working fine for me and running 3.5.1