vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=196244)

Emperor_Mel 12-29-2009 12:39 AM

Quote:

Originally Posted by CypherSTL (Post 1940631)
Are you using MySQL or MySQLi? If I do remember correctly, that PHP worked properly with one, but not the other.

Using: MySQL version 5.0.81-community

Is it possible to fix it?

RK1gaming 12-29-2009 02:44 PM

Thanks guys for the updates on the Dev to VB4.0 - I stopped by Battlelands but seemed like a ghost town ...

I understand the huge change this will take so take your time and get a stable product out .. any ideas on the cost yet for the pro version ..

Skydiver10 12-29-2009 09:13 PM

VB version: 3.8.4 PL2
MySQL version: 5.0

Hi there, I have installed this mod.
Install went fine, accept when I tried it out by giving myself an award, it gave me the award.... but in the process I got this:
Code:

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/admincp/award.php on line 581
The award showed up on my posts and it showed on the profile. Do I need to modify something on line 581 in the award.php file?
Or am I missing something? I can edit it..but to what?

I double checked everything and re-uploaded all files and xml file, just to make sure I did not forget something.

Another thing that is wrong is when I edited the "memberlist_resultsbit" template to show the awards, when I went to look at the members list there was a crapload of server error problems on each members line.

Any help would be greatly appreciated, maybe I'm missing a step? I also looked over the last 15 pages on this thread and only saw a few with this problem but they had a different message.

Any ideas?....thank you in advance...by the way this an awesome mod. :up:

Xanlamin 12-31-2009 05:35 PM

Quote:

Originally Posted by RK1gaming (Post 1941569)
Thanks guys for the updates on the Dev to VB4.0 - I stopped by Battlelands but seemed like a ghost town ...

I understand the huge change this will take so take your time and get a stable product out .. any ideas on the cost yet for the pro version ..

The Battle-Lands site was a multi online gaming community that was just not going anywhere so we shut it down, if you wish to view this mod in action you can stop by http://www.75thclan.com where I am an Admin at and active clan member. On that site we have the "under sig" display of the awards instead of within the postbit, and a link to the main awards can be found in the game information module on the home page.

Skydiver10 01-01-2010 12:51 AM

Hi there Xanlamin, was wondering if there is still support on this mod or does my issue have no conclusion...just wondering if I should keep waiting for an answer....or if I just got stepped over and ignored....just wondering...thank you....happy new year!!

Xanlamin 01-01-2010 06:06 AM

Sorry for any delay in response Skydiver10, the coming new year has left us with preparations for the new, and had left us busy. We are unable to reproduce this error for yourself and others with similar issues, and if I think about it that is why we removed the member list aspect. If you go to the web site above you can see that we are able to have this mod installed with no issues and we still do not use the memberlist aspect.

Since some are having this issue we will look into it more so since it seems that some do wish to use it. Even though this mod is more geared towards a "roster" type of memberslist display.

Fear not, this mod is being worked on, we are going to do what we can to keep it compatiable with both 3.8 and 4.0.

Skydiver10 01-01-2010 04:26 PM

Hi Xanlamin, thank you so much for your response, and thank you for your help on not being able to reproduce this error. This will help others when searching this thread.

I really like this mod and I like the awards.php that shows the list of awards, a have started to compile some simple awards, when you get a chance take a look. I'm also trying to figure out the rest of the settings that offer thread and forum ID's for posts. Is there a manual or information guide to this or is this something I have to experiment with and figure out on my own?

Yes, by checking out: http://www.75thclan.com/forums/awards.php you can see how powerful and effective this mod is! I really like this! :up: What a list!

The new year will bring many challenges, and the whole 4.0 thing has opened many cans of worms, I do not plan on updated to 4.0 for many many reasons, so good luck!

I have spent hours searching this thread and other related version threads for this error and could not find a fix. I spent an additional few more hours on the web searching for database error information under different scenarios than mine, but I have found something that works on line 581 in the award.php file, I would like to know your experienced opinion with database errors.

On line 581 of award.php:
Code:

$issue_id = mysql_insert_id();
Replaced with this:
Code:

$issue_id = $db->insert_id;
This eliminates the error that shows for 5 seconds after giving a member an award in the adminCP awards.

~ With your expert opinion and experience with data-basing, is this OK?

~ When you talk about member list, are you referring to the memberlist_resultsbit; awards that show up on the community member list? I have not been able to figure these errors out since there are 3 database errors that show up in a row on every single member line. I can live without the awards not showing up on this list, since all of the awards that are won... show up on the awards.php list!

Look forward to your responses, special the database error above...happy new year, and thanks again.

Virtualshiner 01-01-2010 10:47 PM

On a website that uses this, www.vmkmagic.com , they have it so if you post in a certain thread, it will automatically give you an award. I have checked and checked in my settings, but i do not see an option for this. How is it possible?

CypherSTL 01-01-2010 10:56 PM

Quote:

Originally Posted by Skydiver10 (Post 1944114)
I have spent hours searching this thread and other related version threads for this error and could not find a fix. I spent an additional few more hours on the web searching for database error information under different scenarios than mine, but I have found something that works on line 581 in the award.php file, I would like to know your experienced opinion with database errors.

On line 581 of award.php:
Code:

$issue_id = mysql_insert_id();
Replaced with this:
Code:

$issue_id = $db->insert_id;
This eliminates the error that shows for 5 seconds after giving a member an award in the adminCP awards.

~ With your expert opinion and experience with data-basing, is this OK?

~ When you talk about member list, are you referring to the memberlist_resultsbit; awards that show up on the community member list? I have not been able to figure these errors out since there are 3 database errors that show up in a row on every single member line. I can live without the awards not showing up on this list, since all of the awards that are won... show up on the awards.php list!

Look forward to your responses, special the database error above...happy new year, and thanks again.

I will have to take a look around the code and see if I can duplicate the errors, and/or duplicate your code change and see if it affects anything else in the system.

Quote:

Originally Posted by Virtualshiner (Post 1944423)
On a website that uses this, www.vmkmagic.com , they have it so if you post in a certain thread, it will automatically give you an award. I have checked and checked in my settings, but i do not see an option for this. How is it possible?

Most likely they have a custom script, cron, or plugin that does this. That isn't part an option in the awards system, nor will the demand be there enough for it to work on coding that.

If you want the code, I would suggest you get a hold of that site administrator/developer and see what you can work out with them.

HolyKiller 01-07-2010 05:33 AM

Nice mod, like it on 3.8. Hope version for vB4 come soon :)


All times are GMT. The time now is 05:06 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.01394 seconds
  • Memory Usage 1,758KB
  • 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
  • (5)bbcode_code_printable
  • (4)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
  • (10)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