vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Yet Another Awards System [1.2.1] (https://vborg.vbsupport.ru/showthread.php?t=78934)

deb0 05-17-2005 11:11 PM

I tried to fix this and screwed up my awards_request_formanswers template.

Can someone please post the original template?

Here is the problem I was trying to fix:

When postbit information that is submitted in forum x has invalid links "//yourdomain/forum/ etc... I did a replace all on these, and as a result, it fixed all the links but no longer shows the image of the award. Instead it shows the url - $award[award_img_url][/img][/url].

I would like the image to show up. Help!

mtha 05-18-2005 06:31 AM

Quote:

Originally Posted by deb0
I tried to fix this and screwed up my awards_request_formanswers template.

Can someone please post the original template?

Here is the problem I was trying to fix:

When postbit information that is submitted in forum x has invalid links "//yourdomain/forum/ etc... I did a replace all on these, and as a result, it fixed all the links but no longer shows the image of the award. Instead it shows the url - $award[award_img_url][/img][/url].

I would like the image to show up. Help!

Supposed that you didnt edit the master template. if so, you just need to run "reverse" to get to the original template.

otherwise, you can open the install file, look for
$awards_request_formanswers_content


Logik 05-18-2005 06:54 AM

I have this installed and it works out great. Good job.

Mr. Brian 05-21-2005 12:01 AM

Well, is it possible to set permission to allow my mod to give out awards to user aswell?

Flow Fusion 05-21-2005 08:34 AM

Quote:

Originally Posted by Mr. Brian
Well, is it possible to set permission to allow my mod to give out awards to user aswell?

Dito.

deb0 05-22-2005 02:21 AM

Quote:

Originally Posted by Flow Fusion
Dito.

Ditto x2.

mtha 05-22-2005 06:53 AM

Quote:

Originally Posted by Mr. Brian
Well, is it possible to set permission to allow my mod to give out awards to user aswell?

you can always set someone to access ACP, with basic functions, to manage the awards

I've been working too much with admincp, maybe a copy in modcp be better. Will consider it.
Thanks
:)

jluerken 05-27-2005 08:54 AM

Hi author,

I found a bug in the request award section.

I am using table prefixes in my installation and request_award is not taking care about this.

Everytime a user requests an award I get this db error:

PHP Code:

Database error in vBulletin 3.0.7:

Invalid SQLINSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visibleVALUES (NULL,'88856','CFN|LordSoth Award Request Form','CFN|LordSoth','4','1117187527','[b]Award Request Form - CFN|LordSoth[/b]

------------------
[color=blue][b]Sender Information[/b][/color]

UserID: [url=http://www.clanforums.com/forum/member.php?u=4]4[/url]
Username: CFN|LordSoth
Fullname: CFN|LordSoth

-----------------------------
[color=red][b]Request Information:[/b][/color]
Award ID: [b][url=http://www.clanforums.com/forum/awards.php#award3]3[/url][/b]
Award Name: [b]Donationaward[/b]
Award Description: [b]Thanks for your donation[/b]
[url=http://www.clanforums.com/forum/awards.php#award3][img]https://vborg.vbsupport.ru/[/img][/url]

Recipient username : [b][url=http://www.clanforums.com/forum/member.php?username=Toky] Toky [/url] [/b]

-----------------------------------------------------
Please explain why the listed recipient should receive the award.

Sponsoring
-----------------------------------------------------
'
,'1','1','0','0','1')
mysql errorTable 'usr_web1_3.post' doesn't exist

mysql error number: 1146 

The table name is not usr_web1_3.post, its usr_web1_3.vb3_post where vb3_ is the prefix


The error is in request_award.php around line 40
And line 41 has the same error. It should be:
PHP Code:

UPDATE " . TABLE_PREFIX . "thread SET 


Jagged Tooth 05-30-2005 11:17 AM

I'm just having a few problems with the layout. If you look Here the usrenames are no longer in the table. Also Here (along with all the other usernames) the Icon contains the image, image contains the description and description is empty. Everything else is fine though.

And just the usuals.
PHP: 4.3.10
mySQL: 4.1.11-standard
Vb: 3.0.7

Any ideas

--Jagged Tooth--

donBLACK 06-01-2005 06:31 PM

i did al the mods and the install but the awards still wont show in the postbit...even after i edited the templates

www.undergroundmic.com/forums


All times are GMT. The time now is 09:12 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.01320 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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