vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - vBExperience (https://vborg.vbsupport.ru/showthread.php?t=171014)

Lift for Life 05-03-2008 10:32 PM

Thanks for the reply, but I had already uploaded the contents of the Upload folder to the server prior to importing the product. Should I have renamed the Upload folder to a different name?

Phalynx 05-03-2008 10:37 PM

Upload only the content of the upload folder, not the folder self.

Lift for Life 05-03-2008 10:38 PM

Thanks for the reply, but I had already uploaded the contents of the Upload folder to the server prior to importing the product. Should I have renamed the Upload folder to a different name?

Lift for Life 05-03-2008 10:39 PM

Thanks, but it's too late, I already uploaded the "Upload" folder.
I'm basically in panic mode right now having shut my board down due to an error on my part.
Is there any way to recover from this?

Phalynx 05-03-2008 10:42 PM

Why don't you just disable panic mode and just read the install instruction one step after other?

Other way would be to disable Hooks via config.php

Lift for Life 05-03-2008 10:48 PM

Thanks for the fast replies, I truly appreciate it. I'll try to tone down the panic mode.

Here are the steps that I did so far.

1. Unzip the contents of the download.
2. Upload the contents of the Upload folder to the server.
3. Import the product "product_vbexperience3711.xml"
4. Received fatal error message.

The board is completely down and I can't get to the admin panel.
Can you tell me what file I need to edit (if any) on the server?

Thanks

Phalynx 05-03-2008 10:50 PM

You don't need to edit anything if you copy now the content of the ZIP/upload/ to your forum root.

It's just simple, isn't it?

Lift for Life 05-03-2008 10:56 PM

I agree, I have obviously done something incorrect.
I just downloaded and unziped the file again and then re-uploaded the contents of the Upload folder to the forums directory, but still cannot access the board.

I'm at a loss as to what to do next.

Phalynx 05-03-2008 11:04 PM

Edit on the server the file includes/config.php,

ADD this line:
define('DISABLE_HOOKS', true);

directly after
<?php

There is nothing more I can do for you.

Lift for Life 05-03-2008 11:09 PM

First of all, I want to sincerely express my gratitude for your assistance. I have imported multiple products and perhaps was simply trying to do things to quickly at this point.

I just imported the folders inside of the Upload folder one at a time and,,,,,,, I'm back : )

Perhaps I was just getting too confident and not taking the proper steps.

We all take our boards very seriously and I probably wasn't thinking too clearly the moment I saw the fatal error message.

Thanks for talking me down.

Lift

Phalynx 05-03-2008 11:12 PM

You're welcome. Please click INSTALL :)

Good Night.

Deepdog009 05-04-2008 12:19 AM

700 downloads ...

400 installs...

?????????????????????????????????????????????????? ???

Replicators 05-04-2008 12:43 AM

hmmm, for the postbit there should be like a bar around it, or a frame of some sort, and also a <br /> before and after the code would be nice.

shlomot 05-04-2008 02:39 AM

Thank you so much for this wonderful MOD and for the v3.7.12 upgrade.

However, awards points for blog posts to not seem to be taken into account, even after defining its value (Points for vBulletin Blog), and after clicking the Recount link several times.

Captain DDL 05-04-2008 02:50 AM

Is there any way for the post count to be hidden while this is active? I don't really see a point in having both. Also, for users that have no registration date (happened back when we first converted to vB...displays as Dec 31 1969), is there any way to detect that and stop them from getting 30 years of experience points?

TheProphet 05-04-2008 03:51 AM

Quote:

Originally Posted by Phalynx (Post 1507408)
File includes/class_xperience.php
Search for '/level/award_'
and remove the /

Thx for the fix, but it comes with a switch, now the postbit is having a problem because it's pointing to: /forum/cb/misclevel/award_posting.png

TheProphet 05-04-2008 04:11 AM

Ok after i got the switching problem i did the following to fix:

Find this code in: includes/class_xperience.php [around line 751]
PHP Code:

            //this has to be hardcoded as the fetch_musername hook comes before style_fetch
            
if (strlen($stylevar[imgdir_misc])<2$stylevar[imgdir_misc]="images/misc/";
            
//this has to be hardcoded as the fetch_musername hook comes before cache_templates
            
$awards.='<img border="0" src="'.$stylevar[imgdir_misc].'/level/award_'.$awardname.'" title="'.$awardtitle.'">';
          
//eval('$awards.= "' . fetch_template($MyTemplate) . '";'); 

And replace the code by this
PHP Code:

            //this has to be hardcoded as the fetch_musername hook comes before style_fetch
            
if (strlen($stylevar[imgdir_misc])<2$stylevar[imgdir_misc]="images/misc";
            
//this has to be hardcoded as the fetch_musername hook comes before cache_templates
            
$awards.='<img border="0" src="'.$stylevar[imgdir_misc].'/level/award_'.$awardname.'" title="'.$awardtitle.'">';
          
//eval('$awards.= "' . fetch_template($MyTemplate) . '";'); 


Phalynx 05-04-2008 12:01 PM

Quote:

Originally Posted by shlomot (Post 1507609)
However, awards points for blog posts to not seem to be taken into account, even after defining its value (Points for vBulletin Blog), and after clicking the Recount link several times.

It rewards only blogging people, not comments. And it supports only vBulletin Blog.

Quote:

Originally Posted by Captain DDL (Post 1507621)
Is there any way for the post count to be hidden while this is active? I don't really see a point in having both. Also, for users that have no registration date (happened back when we first converted to vB...displays as Dec 31 1969), is there any way to detect that and stop them from getting 30 years of experience points?

Why don't you just run a query which sets the users joindate to a specific date like f.e. your board installation?

Quote:

Originally Posted by TheProphet (Post 1507687)
Ok after i got the switching problem i did the following to fix:

Thanks. Will be fixed in next version.

goodguy 05-04-2008 05:01 PM

Awesome hack :)

Installed fine but nothing showing in the postbit except the numbers I put in myself, how do I get the bars to show? Also should it all align to the left unlike the pic below?

Captain DDL 05-04-2008 05:34 PM

Quote:

Originally Posted by Phalynx (Post 1508018)
Why don't you just run a query which sets the users joindate to a specific date like f.e. your board installation?

How would I go about doing that?

Phalynx 05-04-2008 07:09 PM

Quote:

Originally Posted by goodguy (Post 1508296)
Installed fine but nothing showing in the postbit except the numbers I put in myself, how do I get the bars to show? Also should it all align to the left unlike the pic below?

Seems you didn't copied the images to the right misc/level folder.

Quote:

Originally Posted by Captain DDL (Post 1508333)
How would I go about doing that?

Run a query, f.e. this:
UPDATE user SET joindate=JOINDATE WHERE joindate=0

goodguy 05-04-2008 07:35 PM

Quote:

Originally Posted by Phalynx (Post 1508425)
Seems you didn't copied the images to the right misc/level folder.

Copied it to every misc folder I could find :confused: They appear fine on the tab in the user profile.
Also everyone seems to have 100. Have installed biggest xml, how do I recalculate the numbers?

jonnycrick 05-04-2008 10:03 PM

Everything was working great, but when I change an award from being calculated to instead assigning it directly to a userid the award disappears completely from the 'all awards' page and people's user names.

Mum 05-04-2008 11:06 PM

The default Activity Award - is there a way to do 2nd place and 3rd place? I tried using the option 'Limit the Award to a position in queryUse 0 for GOLD Award, 1 for Silver, etc...' thinking that it would do 1st, 2nd, 3rd, but it just puts the same person in place for all. How can i do this?

Detomah 05-05-2008 12:05 AM

Quote:

Originally Posted by Mum (Post 1508717)
The default Activity Award - is there a way to do 2nd place and 3rd place? I tried using the option 'Limit the Award to a position in queryUse 0 for GOLD Award, 1 for Silver, etc...' thinking that it would do 1st, 2nd, 3rd, but it just puts the same person in place for all. How can i do this?

I'm having the exact same issue.

0 is supposed to show the 1st query and by design and as instructed, surely 1 should show the 2nd query and so on, yet no matter what number is put into the limit box, it always shows the same user, i.e. the user pulled with the 1st query, which I guess has to be a bug, surely...

Kinda kills the awards part of this hack for me totally if i can't use that bit, as by default as webmaster of my site, I come first for virtually everything and it's not going to be much fun for the community if they are never going to be able to get an award because the admin is always going to have them all.

Love the hack, but dearly need the awards sorting out a bit for the hack to be of use to me.

Edit: Actually, after further inspection, it does actually appear that the awards are handed out to the right people on the ranking page, it appears to be just the awards page itself that is displaying as described above.

Mum 05-05-2008 12:13 AM

Quote:

Originally Posted by Detomah (Post 1508751)
Kinda kills the awards part of this hack for me totally if i can't use that bit, as by default as webmaster of my site, I come first for virtually everything and it's not going to be much fun for the community if they are never going to be able to get an award because the admin is always going to have them all.

Exactly my issue.

Here's hoping for a fix!

Skyrider 05-06-2008 06:24 AM

I don't want to be rude, but all the statistics are all wrong. It either saves all the stickies & friends that has been made in total, or its just plain wrong.

Quote:

# Friends: 39 <-- Should be 13, not 39, as I only have 13 friends at the moment.
# Stickies: 250 <-- Sticky threads that I currently have? If so, so wrong.
# Albumpictures: 6 <-- I have 2 at the moment, not 6.
I already attempted to remove all the points and re-build it, but the same keeps coming up. I'm using level 3 (hard). So a bit help would be greatly appreciated.

Phalynx 05-06-2008 06:48 AM

Quote:

Originally Posted by goodguy (Post 1508468)
Copied it to every misc folder I could find :confused: They appear fine on the tab in the user profile.
Also everyone seems to have 100. Have installed biggest xml, how do I recalculate the numbers?

AdminCP/vBExperience. This has to be done every time you install a new level XML.

Quote:

Originally Posted by jonnycrick (Post 1508653)
Everything was working great, but when I change an award from being calculated to instead assigning it directly to a userid the award disappears completely from the 'all awards' page and people's user names.

What are the settings you are using for the award? Please list them all. Also, did you a "Generate Awards" after the changes?

Quote:

Originally Posted by Mum (Post 1508717)
The default Activity Award - is there a way to do 2nd place and 3rd place? I tried using the option 'Limit the Award to a position in queryUse 0 for GOLD Award, 1 for Silver, etc...' thinking that it would do 1st, 2nd, 3rd, but it just puts the same person in place for all. How can i do this?

Quote:

Originally Posted by Detomah (Post 1508751)
I'm having the exact same issue.

0 is supposed to show the 1st query and by design and as instructed, surely 1 should show the 2nd query and so on, yet no matter what number is put into the limit box, it always shows the same user, i.e. the user pulled with the 1st query, which I guess has to be a bug, surely...

Kinda kills the awards part of this hack for me totally if i can't use that bit, as by default as webmaster of my site, I come first for virtually everything and it's not going to be much fun for the community if they are never going to be able to get an award because the admin is always going to have them all.

Love the hack, but dearly need the awards sorting out a bit for the hack to be of use to me.

Edit: Actually, after further inspection, it does actually appear that the awards are handed out to the right people on the ranking page, it appears to be just the awards page itself that is displaying as described above.

Strange, because this works already on different forums. You are both using 3.7.12?

Quote:

Originally Posted by FF|Skyrider (Post 1510114)
I don't want to be rude, but all the statistics are all wrong. It either saves all the stickies & friends that has been made in total, or its just plain wrong.

Nothing is wrong. The collected data is multiplied with the points defined in AdminCP/Settings/vBExperience Points. Also I don't wanna be rude, but did you read the readme?

jonnycrick 05-06-2008 05:13 PM

Quote:

What are the settings you are using for the award? Please list them all. Also, did you a "Generate Awards" after the changes?
Identificator: donator (new image I made and saved in the correct directory)
Title: Donator Award
Description: Top Donator
Assign this award manually: 6378
Limit the Award to a position in query: 0
Display Order: 1
Fields: points_misc_ppd


Thanks

Mum 05-06-2008 05:47 PM

Quote:

Originally Posted by Phalynx (Post 1510131)
Strange, because this works already on different forums. You are both using 3.7.12?

Yes i am, and it doesn't work. How can i help you fix it? Do you need copies of anything?

Detomah 05-06-2008 07:13 PM

Quote:

Originally Posted by Mum (Post 1510751)
Yes i am, and it doesn't work. How can i help you fix it? Do you need copies of anything?

Same here 3.7.12 installed on vBulletin 3.7 Gold

Everything else in the hack seems to work perfectly, except on the main awards page, where it is showing the same user no matter what query number is used for the award.

I'm going to investigate the issue further myself during this evening though (left it this long as i've got my site down for upgrades, so it was not top priority), as i don't know why exactly but I feel it may be something pretty simple and hopefully easy to fix.

tafreeh 05-06-2008 07:34 PM

wow great mod...
question before install...

i have already installed vb credits and another award mod system
so is this mod gonna be merge with my award system .. or does it create it own award page ? or is this mod gonna use vb credit point system or its own point system ???

burlesque 05-06-2008 10:47 PM

Has anybody thought about creating a Top Trumps style mod which uses the data from vbExperience?

http://www.zeldaelements.net/games_m...rds_n64mag.jpg

I used to love playing the game as a kid and the thought of being able to use it on my forum, using my members as the cards tickles me somewhat!

The cards themselves would take their info from:

----
Username
Forum Rank
Avatar Picture
----
Level
Activity
Total Posts
Posts Per Day
----

The top three values (Username, Forum Rank, Avatar) would form the title and the picture of the card whilst the bottom four values (Level, Activity, Total Posts, Posts Per Day) would form the card stats.

The beauty of the this would be that the cards would change dynamically in relation to members forum usage. Many of them might make a point of using the forum more often in order to increase the value of their stats too.

There are loads of potential features that I can think of - although it would probably complicate things, but I'm thinking of stuff like:

1. Game room which lists current games, plus lets members challenge other members to a game.

2. Link in with awards system which gives a prize to users if they win a defined number of games.

3. A setting which only creates a trump card once a user has got past a certain point level. This would ensure that the game would not include all the non-posters who might over-run any stats. It might also give forum members yet more incentive to post if they knew that they could become a trump card.

4. Link in with vbCredits so that users could actually buy more trump cards.

5. Live or practice games - members can choose to risk losing their cards to other members or play for fun - cards are returned to the respective member at the end of a game. Again, this could be reflected in the points awarded - ie live games would add or remove points from a users experience whilst practice games would have no effect on their point level.

If somebody could have all this sorted by 8:30am tomorrow morning, I'd be eternally grateful! ;) Seriously though, I think it would make a great mod and would certainly give users a reason to keep posting!

Opinions?!

danielc2384 05-07-2008 09:07 AM

I am trying to set up the silver medal but it's not working for me. Any idea what I'm doing wrong?

https://vborg.vbsupport.ru/external/2008/05/80.jpg

Dragonahcas 05-07-2008 09:47 AM

Very Cool!

CheeSie 05-07-2008 01:17 PM

This has killed my forum 3 times in a row, using up all my max_questions allowed (thats 300,000!!!!)
Why is it using so many queries?

Could you add a feature to PM a user when they level up, saying congrats and such :)?

woodcreeker 05-07-2008 03:06 PM

First, thanks very much for an amazing modification and conception !! :)

I have a user with a red X after his name and Properties for the graphic is award_award.png

There is no graphic named award_award.png in any of your folders.

So, what's my next step? (renaming any award I wish to this filename?)

I thought I would ask, first, as you might tell me something is wrong with my install.

I didn't use the CMPS XML files, either, as I do not know what to do with them. (I am using CMPS) Place them in the forum/includes/xml/ folder, or import them as a product, or Import Style XML File in templates ??

Also, what do I do with the .db files for award .png files? Do I upload both extra folders, or just one, and where? Do they require their own folders? (One .db file will overwrite the other)

This stuff needs documentation in your setup instructions.

Thanks for reading this, and...

Thanks For One Great Modification !!

ajatib 05-07-2008 05:29 PM

How i can manually assign an award to a specific user?? Can i do this?

germinus 05-07-2008 05:48 PM

Is it me or does this only seem to work for the default style?

bugzy 05-07-2008 05:49 PM

I dont know whats wrong, but when I import the XML plugin, and i go to Vbulletin Options and select the Experience selection, it shows, but the text on the left side is blank, with the radio box/settings on the right normall.

any ideas?


All times are GMT. The time now is 08:24 AM.

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.04058 seconds
  • Memory Usage 1,862KB
  • 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
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete