![]() |
I installed this with no problem on RC3, but installing on RC4 I get no awards showing anywhere and can't figure out why. I doublechecked all the code additions and I don't think I missed any.
Edit: for some reason the award template wasn't added - that fixed it :) |
Thanks that was the fix. Installed and working on rc2. Thanks again.
|
When I try to read and announcement, I get this error at the top of the page:
Quote:
Any ideas? |
I think AnimeWebby is doing a great job..and thanks go to Lesane for his original idea. I am also going to wait until Gold before I install this, but one thing is for sure..I am going to install it! It's a great idea that really should have been included into VB.
|
I have run SQL-query using phpmyadmin getting error: my site vbRc4 help me please !
Quote:
You have an error in your SQL syntax near '" . TABLE_PREFIX . "award ( awardid smallint(5) unsigned NOT NULL auto_incre' at line 1 Quote:
You have an error in your SQL syntax near '" . TABLE_PREFIX . "useraward ( userid int(10) NOT NULL auto_increment, ' at line 1 |
@sadie: it looks like you may have missed out a step. you have to add
PHP Code:
PHP Code:
@maruier: you are meant to replace " . TABLE_PREFIX . "with your table prefix before you run those queries. |
I am still getting this error:
SQL-query : CREATE TABLE " . TABLE_PREFIX . "award( awardid smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT , name varchar( 50 ) NOT NULL default '', description varchar( 250 ) NOT NULL default '', icon_url varchar( 250 ) NOT NULL default '', PRIMARY KEY ( awardid ) ) TYPE = MYISAM MySQL said: #1064 - 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 '" . TABLE_PREFIX . "award( awardid smallint( 5 ) unsigned NOT Can anyone tell me what I am doing wrong on this? |
nevermind, if I look up a thread I can see the answer, sorry...
|
if you are getting an error when you are trying to view announcements then.....
in /includes/functions_showthread.php instead of finding PHP Code:
PHP Code:
PHP Code:
|
Works perfectly now - thanks! :D
|
I get an error when trying to install the hack using the Hack Tracking Log at /admincp/index.php?loc=install_htl.php?inside=1:
Parse error: parse error in /home/quibbler/public_html/forums/includes/functions.php on line 1805 Fatal error: Call to undefined function: exec_nocache_headers() in /home/quibbler/public_html/forums/admincp/global.php on line 37 Looked at the code, but couldn't figure anything out. Any idea what's wrong? I think it has something to do with the file edits I did for this hack. |
I have installed this successfully on RC3 and I have to say - GREAT HACK !!!
I followed the txt instructions and there were some differences in the codes quoted and what are in my phps but that was only a minnor problem. Also I spotted one very small error. In awards.php line 179 should be: PHP Code:
PHP Code:
2 questions ... 1) How do I split the awards up. Currently they are directly next to each other with no spaces. 3) Any chance of some more medals/awards/trophy images being posted? Thanks Again Great Work |
Quote:
In postbit or postbit_legacy depending on which you use. |
@ the quibbler: Line 1805 or any lines surrounding that in /includes/functions.php has nothing to do with this hack unless you put something in the wrong place.
@the watcher: I am aware of the changes in code. I am trying to setup my own board and am not worried about some minor indescretions in the find and replace parts. Also that isn't so much a mistake if you use full url's to your awards images which I thought people woulc use. But I will take this into account and build some added functionality. 1) shove a couple of at the end of the awards template or you can add some <br />'s depending on how you want them split up. 3) I think you meant 2) but oh well :P Not at the moment I am too busy, and not too graphical. |
thanks :)
Ill find my own images and post them here haha With reference to the spacing, this is what i was trying to acheive - sorry if I did not explain clearly ... Ideally i would like my 5 medals on one line with 2 spaces inbetween and then my 3 trophies on the line below with perhaps 3 spaces in between. couldn't work out how to do that though thanks again |
ERROR!!!
Quote:
You may want to add $awards array into showpost.php too, like you did in showthread.php |
I will be moving it to the top of showthre_functions.php in the next version please bare with me.
|
Quote:
|
i`ve got small bug! In Private Messages Page i got that:
Quote:
PHP Code:
|
cant run both sql queries in the txt file can someone please tell me what they should be
thank you |
Quote:
PM, view thread, viewpost ... maybe this hack should be moved to Beta mods, as of it's not completed Quote:
|
OK just upldated the attachements to version 2 where the errors regarding the showpost and announcements are fixed and also the extra page for users who have awards has been added.
I was hoping to get the request award option finished but I think this is an important update. |
Nice hack. What I would like to see is the ability to give Mods and/or Super Mods the option to give out awards.
|
Never mind. I've done it myself.
|
Something else I've added you might want to think about, is who gave the award.
|
Quote:
|
Just a note, your awards hack and the vbarcade hack are not compatible. You use a global of $awards which is also used by that hack. If you change your global to $awards2 you can get both to live in harmony.
|
Can someone clean up the text file for this hack? When I try to view it on my Mac it looks like a mess?
|
So, is this hack beta?
|
@mtha: the only option is to undo all the changes made in v1 and then redo all the changes in v2
@maytrix: I realise that and I think to keep adequate varibale names you should change alll occurances of $award or $awards used in the arcade hack to $arcadeawards but whatever tickles your fancy so to speak. @flow fusion: i cant help you out in anyway except to advise you to use HTL instead of relying on text files, macs aren't my speciality. @roxie: I don't conisder it beta as it works perfectly at the moment. However some might consider it still in beta stages because of the large amounts of bugs found last time and that it might be the same case this time. |
Quote:
1: There's NO award.php in HTL zip file, there's only 1 file in /admincp/award.php 2: Cant find: PHP Code:
Cant find this step on HTL instruction (it's only in TXT one) Quote:
|
I will suggest that you go through the code fully again.
Make sure the templates names are correct. I had to spend about a hour debugging the code and finally was able to fix it. It was searching for a template that doesn't exist. I had to compare the file edits between both HTL / Text File. From my observation, one of those are outdated. But it's working on my site now. Cyricx |
I too had to go through the code twice. I also had to make it work better with some previous installed hacks. It is is a good working hack, but it is a medium to high installation skill level.
|
@Cyricx: What template is that?
And I uploaded the wrong file so I will fix it as soon as I finish this post, sorry to all but trying to keep up with what you've done and haven't done gets quite confusing. |
Quote:
Unable to add cookies, header already sent. File: /hsphere/local/home/mojoblac/flowfusion.biz/forum/includes/functions_showthread.php Line: 679 Any suggestions? Cause I been at it all night/Morning |
Quote:
|
Quote:
|
Quote:
{ $userawardid_desc = $userawardid."_desc"; if ($post[$userawardid_desc] != '') { This is from 674 to 681 and I tried to remove the spaces |
Did you fix user info like it says in the last step?
|
Quote:
|
All times are GMT. The time now is 04:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|