vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Fully Costumizeable recruitment widget (https://vborg.vbsupport.ru/showthread.php?t=236507)

Vaupell 02-20-2010 10:00 PM

Fully Costumizeable recruitment widget
 
1 Attachment(s)
Fully costumizeable Guild recruitment widget
released on 21-feb-2010

About :
Adds a CMS widget, that can be fully costumized from admincp,
and can easy be pointed to any recruitment form or rooster.

Features :
- changeable images/icons
- changeable link to application
- optional different link pr class
- unlimited ammount of classes
- ability to hide classes for later use
- color codes, depending on class demand

Demo : Evisystems - Widget test section

Download : Attachment 116290

History :
21-feb-2010 : Version 1.3 Released
25-apr-2010 : small file update on cpnav

Changelog :
- changed display order in cpnav, so it should now move down correctly.

Installation instructions :
1) upload the files
2) import the product,
3) change settings in adminCP
4) place your widget via the layout page in vbcms

Uninstall :
1) Simply uninstall the product file,.
2) delete the widget

Plans for furture upgrades + bug's found :
- no futher plans, got some idea's ? post them


Attachment 112744
Attachment 112745

Vaupell 02-21-2010 05:05 PM

Note : this can be costumized for all games..

Just used Anarchy online as an exsample..
You have to get your own images, since many are proberly copurighted
and supplying images for a number of games would increase files size to much.

Big-Pete 02-21-2010 05:25 PM

Very Nice, We may have a use for this :)

BTW. I like the notice on the demo site regarding updating browsers to a newer version, Was that easy to implement??

Juggernaut 02-21-2010 05:26 PM

Do the classes show in the postbit and profiles? or only in the guild widget?

Vaupell 02-21-2010 06:06 PM

Quote:

Originally Posted by Big-Pete (Post 1988206)
Very Nice, We may have a use for this :)

BTW. I like the notice on the demo site regarding updating browsers to a newer version, Was that easy to implement??

Its just a image, made in photoshop, then using the vbulletin default Advetisment system
to show it, for unregistered users. instead of using notifications.

Quote:

Originally Posted by Destron (Post 1988207)
Do the classes show in the postbit and profiles? or only in the guild widget?

This is only a widget, it does not have any connections to user profiles/fields or anything
else than what you see here, but its meant to direct registrants to the forms you make
yourself, or another mod that contains the forms. etc..

Juggernaut 02-21-2010 06:13 PM

Oh, thank's for the reply, it looks awesome, but I don't have any forms in my forum at this time, still, it looks great. :)

betts02 02-21-2010 06:22 PM

As i do not use the wigets or whatever they are, could this be made to place in a box on the forums home ?

Or in the side box where latest posts,etc can go ?

sorry i am a newbie to vbulletin

but if this is possible please let me know how

cheers

nightbloom 02-21-2010 10:29 PM

If you dont have forms, this mod works perfectly with Easy Forms or with an easier external form site http://allforms.mailjol.net/

Thanks a ton for this mod, it's absolutely what I was looking for!

betts02 02-22-2010 07:16 PM

Quote:

Originally Posted by nightbloom (Post 1988418)
If you dont have forms, this mod works perfectly with Easy Forms or with an easier external form site http://allforms.mailjol.net/

Thanks a ton for this mod, it's absolutely what I was looking for!

How would i go about this ?

cheers in advance

All i want to do is use the mod but i do not have the wigets or whatever they are, i use vbadvanced but would love to show this on my main forums, maybe at the right side in a box, can someone tell me how to do this ? chhers

Vaupell 02-23-2010 10:56 AM

Quote:

Originally Posted by betts02 (Post 1989047)
How would i go about this ?

cheers in advance

All i want to do is use the mod but i do not have the wigets or whatever they are, i use vbadvanced but would love to show this on my main forums, maybe at the right side in a box, can someone tell me how to do this ? chhers

Here you go : https://vborg.vbsupport.ru/showthread.php?t=236674
Its a forumblock, for vbadanced help, you need to ask over on vbadvanced forums, im sure brian can help you there,

read the requirements.

jimfries 02-23-2010 03:53 PM

Excellent job my friend. Full install and customization for our website took only a few minutes. Well done!

zanthor 02-24-2010 08:25 PM

I've installed this, configured, and added via the CMS system, the block shows up, but no content is showing...

http://www.botbh.com

I also installed the forumblock and it's working just fine... (granted, I need to fix my icon size :))

zanthor 02-24-2010 10:24 PM

It would be nice to be able to control the order of the classes... I put them in order, but it lists them backwords on the forums plugin.

zanthor 02-25-2010 02:43 AM

I removed and reinstalled, and I get an error on the install that is there just barely long enough...

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/includes/adminfunctions_plugin.php(450): eval()'d code on line 3

The cms_widget table has the widget, but the cms_widgetconfig table doesn't have the matching entry.

Vaupell 02-25-2010 07:19 AM

Quote:

Originally Posted by zanthor (Post 1990914)
I removed and reinstalled, and I get an error on the install that is there just barely long enough...

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/includes/adminfunctions_plugin.php(450): eval()'d code on line 3

The cms_widget table has the widget, but the cms_widgetconfig table doesn't have the matching entry.

hmmm

Quote:

Originally Posted by Vaupell (Post 1988232)
Uninstall :
1) Simply uninstall the product file,.
2) delete the widget

Did you delete the widget as instructed ? when uninstalling.

Tri@de 02-25-2010 07:29 AM

there's a way to make the apply different on game and guild?
an example:
in my site i have different games (wow, city o f heroes, mortal online ect) with different guilds.
i like to have the possibility to choose the game and the guild i want to join.

i hope you implement this

zanthor 02-25-2010 10:15 AM

Yep.

After removing all of the product it still throws the same error, and I'd assume it's the widget being created because the forumblock creates just dandy.

The code inside the widget that gets created is:

Code:

$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";
Which would explain why it only dumps a date value...

zanthor 02-25-2010 02:10 PM

Another note:

Your cpnav_egr.xml file has the displayorder on the wrong element.

Code:

<navgroups product="evi_guild_recruit">
    <navgroup text="Evi Guild recruitment" displayorder="1200">

You have it on navgroups not navgroup... thus it ignores it and puts you first. (The pasted code is edited and puts it at the bottom of my list).

Metura 04-25-2010 03:06 PM

If your looking for a Good Idea how about instead of just Guild Recruitment Clan Recruitment. Like Join the Modern warfare 2 clan etc, or Join Group Alpha in ModernWarfare 2 that would be nice to iether be able to edit to that point or just have a separate addon your choice.

Vaupell 04-25-2010 04:29 PM

Quote:

Originally Posted by Metura (Post 2027089)
If your looking for a Good Idea how about instead of just Guild Recruitment Clan Recruitment. Like Join the Modern warfare 2 clan etc, or Join Group Alpha in ModernWarfare 2 that would be nice to iether be able to edit to that point or just have a separate addon your choice.


You could just change the name, and the contents as you wish.
If someone really needs that, im sure they can figure it out,
else i dont belive its that urgent :cool:

dippetas 09-03-2010 02:50 PM

very useful mod for gaming sites! is it possible to make it appear in more than one block, depending on clan id?

miyuki 09-08-2010 12:29 PM

I can't successfuly install this mod. Each time, the widget content is not showing, except the date. By the way, the widget code seem strange...
Code:

$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";
Any idea to make this work ?

Shuurajou 03-27-2011 07:37 PM

I'm having the same issues as Miyuki on vB 4.1.2.

kinhell 04-16-2011 11:45 PM

I am having the widget only displaying the date too, can you help?

almty1 12-06-2011 02:26 PM

anyone get this working on 4.1.8?

imported_dfmafia 12-06-2011 11:10 PM

dude, AO rules!!

thanks been looking for something like this. thanks!!



Quote:

Originally Posted by almty1 (Post 2275180)
anyone get this working on 4.1.8?

ill be testing it over the weekend :up:

Marcus_B 04-18-2012 12:50 PM

Can anyone confirm if this mod works with 4.1.12?

EDIT: I have used it now and it works fine with 4.1.12! Thanks AO!

X672 04-19-2012 06:49 PM

Quote:

Originally Posted by Marcus_B (Post 2321265)
Can anyone confirm if this mod works with 4.1.12?

EDIT: I have used it now and it works fine with 4.1.12! Thanks AO!

Can you please post the widget code you have? Because all I get is the date...

Marcus_B 04-20-2012 07:06 PM

Afcourse, here you go. But I didnt do any changes to the code at all so its the same as in download:

PHP Code:

ob_start();
$wantedcol vB::$vbulletin->options['egr_color_wanted'];
$highwant vB::$vbulletin->options['egr_highly'];
$normalcol vB::$vbulletin->options['egr_color_normal'];
$normalwan vB::$vbulletin->options['egr_normal_def'];
$acceptcol vB::$vbulletin->options['egr_color_accepted'];
$accepting vB::$vbulletin->options['egr_accepting_def'];
$notwanted vB::$vbulletin->options['egr_color_notwanted'];
$notaccpting vB::$vbulletin->options['egr_notaccepting_def'];

$apply vB::$vbulletin->options['egr_name_apply'];
$full vB::$vbulletin->options['egr_name_full'];


if (
vB::$vbulletin->options['egr_online']){

if (
vB::$vbulletin->options['egr_sinatur']){
$output_bits .= '<div style="color:'.$notwanted.';"><small>■ = '.$notaccpting.'</small></div>';
$output_bits .= '<div style="color:'.$acceptcol.';"><small>■ = '.$accepting.'</small></div>';
$output_bits .= '<div style="color:'.$normalcol.';"><small>■ = '.$normalwan.'</small></div>';
$output_bits .= '<div style="color:'.$wantedcol.';"><small>■ = '.$highwant.'</small></div><br />';
}

$getclasslist vB::$db->query_read_slave("SELECT * FROM ".TABLE_PREFIX."egr");
while(
$rowvB::$db->fetch_array($getclasslist))
{
$rowid htmlspecialchars_uni($row['id']);
$rowname htmlspecialchars_uni($row['classname']);
$rowlink htmlspecialchars_uni($row['classlink']);
$rowimage htmlspecialchars_uni($row['classimage']);
$rowwanted htmlspecialchars_uni($row['classwanted']);

if (
$rowlink == ''){$rowlink vB::$vbulletin->options['egr_default_link'];}

switch (
$rowwanted) {
case 
1:
$color $wantedcol;
$linking 'href="'.$rowlink.'"';
$allowed $apply;
break;

case 
2:
$color $normalcol;
$linking 'href="'.$rowlink.'"';
$allowed $apply;
break;

case 
3:
$color $acceptcol;
$linking 'href="'.$rowlink.'"';
$allowed $apply;
break;

case 
4:
$color $notwanted;
$linking '';
$allowed $full;
break;
}

if (
$rowwanted == 5){ }else{
$output_bits .= '
<div style="float:left; color:'
.$color.';" ><img style="vertical-align:middle;" src="'.$rowimage.'" />'.$rowname.'</div>
<div style="float:right; vertical-align:middle;"><a style="color:'
.$color.';" '.$linking.'>'.$allowed.'</a></div><div style="clear:both;"></div>';

if (
vB::$vbulletin->options['egr_ruler']){ $output_bits .= '<hr />'; }
}


}


$output $output_bits;
}

if (
vB::$vbulletin->options['egr_online'] == 0){
$output vB::$vbulletin->options['egr_offline_msg']; }

ob_end_clean(); 


X672 04-21-2012 08:07 AM

Thanks :)

Got it working when I took out the 4 "■" from the code.

tekniques 10-21-2012 12:21 AM

This may be a dumb question, but using VBadvanced on vbulletin 4.2 I cannot find the module to add on my layout page. I tried to import a module, create a new module, but I am really just shooting in the dark.

How can I create the module for this in vba cmps so I can add it to my front page? I have installed and customized the widget and it all works fine, but I cannot display it via the vba layout page.

churchguild.org is the website.

WhiskeyOSS 01-18-2013 12:58 AM

Can you remake this for Vbulletin 5 connect..


All times are GMT. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01400 seconds
  • Memory Usage 1,850KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete