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)

almqdad 10-30-2005 03:56 PM

hi

when I click member list i get this error

'usercp_nav_folderbit', 'awards_bit'


Unable to add cookies, header already sent.
File: /home/vrfihres/public_html/forum/memberlist.php
Line: 5

and if i disablemember list i get this error

'usercp_nav_folderbit', 'awards_bit'
Warning: Cannot modify header information - headers already sent by (output started at /home/vrfihres/public_html/forum/memberlist.php:5) in /includes/functions.php on line 2869

I want also to disable request form completely

also is thereaway to display award image instead of icon in member profile

some one help

mtha 11-01-2005 03:41 AM

Quote:

Originally Posted by almqdad
hi

when I click member list i get this error

'usercp_nav_folderbit', 'awards_bit'


Unable to add cookies, header already sent.
File: /home/vrfihres/public_html/forum/memberlist.php
Line: 5

and if i disablemember list i get this error

'usercp_nav_folderbit', 'awards_bit'
Warning: Cannot modify header information - headers already sent by (output started at /home/vrfihres/public_html/forum/memberlist.php:5) in /includes/functions.php on line 2869

You must have done something wrong. Try to reverse the first edit on memberlist.php,
just use original

$globaltemplates = array(
);

Dont add the awardsbit template, and see how it work



Quote:

I want also to disable request form completely
There's an option in setting to turn it off. you then can remove the request_award.php file too.


Quote:

also is thereaway to display award image instead of icon in member profile
In member prodile, the award image is displayed at the bottom, together with award name and reason, isnt it?

Mr.T 11-04-2005 06:08 PM

Hello,

first thank you for this great hack. But I've one question.
The title of the automatic post shows the username of the person, who requests an award for another user. But I want that the title looks like:

XXX Award Request Form
_________________________________________

Award Request Form - XXX

------------------
Sender information

UserID: yyy
Username: zzz



I hope you understand, what I mean. I think, that the change must be in the awards_request_formanswers the first line
Code:

$formtitle - $bbuserinfo[username]
instead of $bbuserinfo[username] $answer2 but it doesn't work.

I hope you can help me and you understand my bad english.


T

almqdad 11-04-2005 06:25 PM

great hack installed on vb 3.08

mtha 11-05-2005 04:02 PM

Quote:

Originally Posted by Mr.T
Hello,

first thank you for this great hack. But I've one question.
The title of the automatic post shows the username of the person, who requests an award for another user. But I want that the title looks like:

XXX Award Request Form
_________________________________________

Award Request Form - XXX

------------------
Sender information

UserID: yyy
Username: zzz



I hope you understand, what I mean. I think, that the change must be in the awards_request_formanswers the first line
Code:

$formtitle - $bbuserinfo[username]
instead of $bbuserinfo[username] $answer2 but it doesn't work.

I hope you can help me and you understand my bad english.


T

you want to chaneg the post/thread title?

well, it's not that simple,

you need to look at request_award.php file, there's few places where

in the insert query, it insert this for title:

'".addslashes(htmlspecialchars($vbulletin->userinfo[username]))." $formtitle'

You need to change in there.

CAUTION: you need to know what you are doing, when you make the changes.

My time is limited now, so I cant do that coding for you. I dont use that form anyway.

RetroDreams 11-18-2005 02:50 AM

Quote:

Originally Posted by Mr.T
Hello,

first thank you for this great hack. But I've one question.
The title of the automatic post shows the username of the person, who requests an award for another user. But I want that the title looks like:

XXX Award Request Form
_________________________________________

Award Request Form - XXX

------------------
Sender information

UserID: yyy
Username: zzz



I hope you understand, what I mean. I think, that the change must be in the awards_request_formanswers the first line
Code:

$formtitle - $bbuserinfo[username]
instead of $bbuserinfo[username] $answer2 but it doesn't work.

I hope you can help me and you understand my bad english.


T

Did you ever get this functional?

If so, can you help me out... I think the author shouldn't have added this feature as it is unmanagable without how you request it.

almqdad 11-20-2005 01:51 PM

Great hack installed

mtha 11-21-2005 05:32 PM

Quote:

Originally Posted by RetroDreams
Did you ever get this functional?

If so, can you help me out... I think the author shouldn't have added this feature as it is unmanagable without how you request it.

I didnt want to add it in either, just that some members want to have it, so I add Edwins' form hack there. if you want. Maybe you should just disable it, as I dont have time to give alot of support over that function.

(not right now)

maybe later on, I write a complete different one, for the purpose

tekram 01-04-2006 08:30 AM

I?ve installed in the Version 3.0.10 and when i get this error when i fille out the request award and clicking submit

Code:

Datenbankfehler in vBulletin 3.0.10:

Ungueltige SQL-Abfrage:
                                INSERT INTO post
                                        threadid, title, username, userid, dateline, pagetext, allowsmilie,
                                        showsignature, iconid, visible)
                                VALUES
                                        (189, 'RJ_Tekram Award Request Form',
                                        'RJ_Tekram', 1, 1136370355,
                                        'Award Request Form - RJ_Tekram

------------------
Sender Information

UserID: 1
Username: RJ_Tekram
Fullname: RJ_Tekram

-----------------------------
Request Information:
Award ID: 2
Award Name : Test
Award Description : das ist ein test
[img]/images/medals/medal-yellow.gif[/img]

Recipient username : NOMOS

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

right now
-----------------------------------------------------
', 1, 1,
                                        0, 1)
                               
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'threadid, title, username, userid, dateline, pagetext, allowsmi

mysql error number: 1064

Datum: 04.01.2006 11:25:55
Skript: http://www.vb-gamezone.de/request_award.php
Referer: http://www.vb-gamezone.de/request_award.php?award_id=2
Benutzername: RJ_Tekram
IP-Adresse: 87.122.84.131

Can someone help me please?

cloyal 01-09-2006 01:24 PM

I've installed this,just a small problem. There is nothing in the ACP that allows me to add change or do anything else with the catagories. Theres the award setting in the options but thats the only thing I've seen.

Any suggestions?


All times are GMT. The time now is 10:39 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.01614 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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