vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=232684)

UK CHI3F 06-20-2012 04:48 PM

Quote:

Originally Posted by squidsk (Post 2341436)
I'd guess that the awards page isn't loading that additional css for some reason. I'll look into it.

Really appreciate it thanks

squidsk 06-20-2012 06:14 PM

Have you set the setting for Store CSS Stylesheets as Files? set to yes? If not you can try to edit the headerinclude template and near the end add additonal.css to the list of css files included.

Glockie 06-21-2012 11:19 AM

Hi,
firstly thanks for this great mod!

I am however, having some issues running it on 4.2.0
I don't have the 'Awards Tab' showing on the board only in the users profile page
And It's not showing anywhere the link to recommend an award

So, in short the recommend the award link (navbar) doesn't exist...

I hope someone can help here..
I look forward to hearing from you

Thanks

** EDIT Ignore the vbphrase issue, I've found it.. cheers!
I've also typed ****.example/award ( guess ) which works but the page is terribly messed up, so I'm assuming it's a CSS fault somewhere.. I can manually add the link on the nav, so that's not a problem. Thanks again

Thunderbird8 06-21-2012 12:14 PM

You can add it to the NavBar manually via the Navigation Manager (awards.php is the path). Or if you feel safe doing so, you can make the plugin edit that I mentioned a few posts earlier.

FTG LIQUID CL 06-23-2012 06:52 PM

I cant access the request and recommened awards.It tells me this..

Admin, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation

Any ideas.

DiageoLiam 06-25-2012 01:18 PM

Is there a fix for automation yet? Getting the following when trying to run the scheduled task. Am using the fix posted by another developer a few pages back.

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT userid, award_id, award_cgroup
FROM award_user
WHERE (userid=19005) AND (award_id=7) AND (award_cgroup='postcount');

MySQL Error : Unknown column 'award_cgroup' in 'field list'
Error Number : 1054
Request Date : Monday, June 25th 2012 @ 09:16:10 AM
Error Date : Monday, June 25th 2012 @ 09:16:10 AM
Script : XX/cronadmin.php?do=runcron&cronid=55
Referrer : XX/cronadmin.php?do=modify
IP Address : XX
Username : XX
Classname : vB_Database
MySQL Version : 5.5.23-55

Kirk Fitzgerald 06-25-2012 01:37 PM

Quote:

Originally Posted by Crotan (Post 2338871)
Existing bug, sadly developer is AWOL, but the fix should still stand.

https://vborg.vbsupport.ru/showpost....&postcount=742

Exactly what I was trying to fix myself, many thanks for the information. :)

squidsk 06-25-2012 01:50 PM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2342768)
Exactly what I was trying to fix myself, many thanks for the information. :)

Use https://vborg.vbsupport.ru/showpost....postcount=1152 instead, it includes all the fixes from the link you used as well as many other fixes.

squidsk 06-25-2012 02:09 PM

Quote:

Originally Posted by DiageoLiam (Post 2342766)
Is there a fix for automation yet? Getting the following when trying to run the scheduled task. Am using the fix posted by another developer a few pages back.

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT userid, award_id, award_cgroup
FROM award_user
WHERE (userid=19005) AND (award_id=7) AND (award_cgroup='postcount');

MySQL Error : Unknown column 'award_cgroup' in 'field list'
Error Number : 1054
Request Date : Monday, June 25th 2012 @ 09:16:10 AM
Error Date : Monday, June 25th 2012 @ 09:16:10 AM
Script : XX/cronadmin.php?do=runcron&cronid=55
Referrer : XX/cronadmin.php?do=modify
IP Address : XX
Username : XX
Classname : vB_Database
MySQL Version : 5.5.23-55

Looking at the xml for automation it looks like you didn't install the automation plugin properly, or there was an error with the installation. The reason I say this is the first thing that should be done by the install script is to add that column to the award_user table. You could try changing line 22 so that ADD award_cgroup instead says ADD COLUMN award_cgroup. If the automation plugin is showing up in your product list I'd uninstall it and re-install it. You'll also need to manually delete the award_automation table if you're doing a re-install since the table is not removed during an uninstall.

FTG LIQUID CL 06-27-2012 09:59 PM

i cant get the automation to work

Patriots1049 07-01-2012 02:49 PM

Does anyone have a fix for automation with vB 4.2?

FTG LIQUID CL 07-01-2012 02:58 PM

Everything is working great.Except I cant get the navbar tab to show up.I have it enabled but it wont work.

Patriots1049 07-01-2012 04:42 PM

So automation works for you? Does it send a PM to members indicating they have got the awards?

Crotan 07-01-2012 10:46 PM

Quote:

Originally Posted by FTG LIQUID CL (Post 2344271)
Everything is working great.Except I cant get the navbar tab to show up.I have it enabled but it wont work.

if you're on 4.2.0 you'll have the manually add the tabs using the Navigation Manager. This mod, like many others hasn't been updated for the navtab changes.

Crotan 07-01-2012 10:52 PM

Quote:

Originally Posted by squidsk (Post 2340916)
I was fixing various bugs for YaAS so I decided to bundle it up into a new version. This is not official, but as the plugin says re-usable code I can release it for the benefit of the community. These changes should be compatible with all VB 4 versions with one caveat it does not support the new navigation manager from VB 4.2.

The mostly complete list of fixes/changes is:
Code:

4.0.3 RELEASE:  (06/13/2012)
    * Fixed - Various install/uninstall code issues
    * Fixed - User profile tab graphical issues
    * Fixed - Recommend/request award showing an error message, in certain circumstances, when there's no error
    * Fixed - Various links not using properly escaped & (i.e. should be & instead of &)
    * Fixed - Code that generated invalid xhtml
    * Fixed - Compatibility with other mods (e.g. vbsso)
    * Fixed - Setting determining which side of the memberprofile the awards tab should appear on not working
    * Ported - Fix from 3.8.4 for admincp for usernames with ' to modcp
    * Changed - Style of the awards tab on the user's profile page to better match with the standard tabs
    * Changed - Style for award icons and images so they are both vertically and horizontally centered in their row (awards.php & user profile)
    * Updated - Version in version phrase

If I messed up anything or there's a bug I didn't catch please let me know and I'll see about fixing it.

EDIT: Re-added the upload with correct XML.

This is great. Thanks for making these fixes and compiling them into a new version! :up:

Kirkus 07-06-2012 09:45 PM

I have several years of awards in my live site's database, which is vBulletin 3.8.7. I'm currently testing an upgrade to 4.2.1 on a dev site. Unfortunately, I uninstalled my old version of YAAS after the upgrade, which dropped my awards tables.

Can I simply export them from my 3.8.7 db and import them into my 4.2.1 database? Or am I asking for trouble?

::

If I don't uninstall my old YAAS and it's corresponding awards tables during my upgrade to 4.2.1, but simply install this newer version over it after the upgrade, will all of my awards still be there. I mean, are the database tables different between the older version of YAAS and this newer version?

Kirkus 07-06-2012 11:57 PM

The answers appear to be yes and yes. ;)

Sorry for mucking up the thread.

Kybyrian 07-11-2012 07:32 PM

How do you remove an award already given to a user? There is no option for it. A user was accidentally given an incorrect award and there is no way to remove it.

Thunderbird8 07-12-2012 06:48 AM

The Give Award to User selection allows removal of awards as well.

animcentral 07-16-2012 02:44 AM

Quote:

Originally Posted by squidsk (Post 2340916)
I was fixing various bugs for YaAS so I decided to bundle it up into a new version. This is not official, but as the plugin says re-usable code I can release it for the benefit of the community. These changes should be compatible with all VB 4 versions with one caveat it does not support the new navigation manager from VB 4.2.

The mostly complete list of fixes/changes is:
Code:

4.0.3 RELEASE:  (06/13/2012)
    * Fixed - Various install/uninstall code issues
    * Fixed - User profile tab graphical issues
    * Fixed - Recommend/request award showing an error message, in certain circumstances, when there's no error
    * Fixed - Various links not using properly escaped & (i.e. should be & instead of &)
    * Fixed - Code that generated invalid xhtml
    * Fixed - Compatibility with other mods (e.g. vbsso)
    * Fixed - Setting determining which side of the memberprofile the awards tab should appear on not working
    * Ported - Fix from 3.8.4 for admincp for usernames with ' to modcp
    * Changed - Style of the awards tab on the user's profile page to better match with the standard tabs
    * Changed - Style for award icons and images so they are both vertically and horizontally centered in their row (awards.php & user profile)
    * Updated - Version in version phrase

If I messed up anything or there's a bug I didn't catch please let me know and I'll see about fixing it.

EDIT: Re-added the upload with correct XML.

it's better to create new thread for your plugins

squidsk 07-16-2012 02:37 PM

Quote:

Originally Posted by animcentral (Post 2348535)
it's better to create new thread for your plugins

It isn't a new plugin, is bug fixes for this plugin. I also couldn't release that as my own plugin even if I wanted to since it isn't mine.

CAG CheechDogg 07-16-2012 07:26 PM

Ok let me see if I can explain what is happening here.

I have two issues not big but kind of weird.

If you add the full link (absolute url) to the "Award Image URL" field when adding a new award instead of just the short (relative url) "images/medals/1_month.jpg" version of the url when going to the Award Manager page the awards do not show up in the Award column.

https://vborg.vbsupport.ru/external/2012/07/30.jpg

The awards how ever do show up in the Awards page on my forums. If I do use the absolute url the award will show up in the Award Manager page in my backend but when a new thread is posted I get this where I only see the bb code instead of the award.

https://vborg.vbsupport.ru/external/2012/07/31.jpg

When I right click to view the image in the Award Manager I get a 403 page not found but the link looks like this

https://www.cagclan.com/community/ht...als/1month.png

Is there a way to allow absolute urls so that the Award shows up in the Award Manager?

Thunderbird8 07-17-2012 06:51 AM

Seems like some parts assume relative URLs (like ACP/MCP) where the forum path would have to be included (since a relative URL in those areas wouldn't work well), while the Request Award output assumes it is absolute.

I also noticed something looking at a few of the templates for this...most of them still look like they're using the vB3 syntax, instead of the vB4 syntax. While this does work, is it really a good idea?

CAG CheechDogg 07-17-2012 06:56 AM

Quote:

Originally Posted by Thunderbird8 (Post 2348864)
Seems like some parts assume relative URLs (like ACP/MCP) where the forum path would have to be included (since a relative URL in those areas wouldn't work well), while the Request Award output assumes it is absolute.

I also noticed something looking at a few of the templates for this...most of them still look like they're using the vB3 syntax, instead of the vB4 syntax. While this does work, is it really a good idea?

It is working fine for me besides these 2 little issues. No other problems , I was looking through the awards.php to see if I could fix this but I see nothing so far.

squidsk 07-17-2012 07:52 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2348755)
Ok let me see if I can explain what is happening here.

I have two issues not big but kind of weird.

If you add the full link (absolute url) to the "Award Image URL" field when adding a new award instead of just the short (relative url) "images/medals/1_month.jpg" version of the url when going to the Award Manager page the awards do not show up in the Award column.

<snip>

The awards how ever do show up in the Awards page on my forums. If I do use the absolute url the award will show up in the Award Manager page in my backend but when a new thread is posted I get this where I only see the bb code instead of the award.

<snip>

When I right click to view the image in the Award Manager I get a 403 page not found but the link looks like this

https://www.cagclan.com/community/ht...als/1month.png

Is there a way to allow absolute urls so that the Award shows up in the Award Manager?

I don't see anything in the code that would cause absolute urls to fail. The default medals use absolute url and they display without a problem. As for relative urls not working, its because the [img] tag does not handle relative urls.

CAG CheechDogg 07-18-2012 04:02 AM

Yes they display in the Awards page in the forums but not in my backend. If I use absolute they wont display in my backend but of course show up because the bb code does handle absolute.

But if you use the relative urls then what is the point of creating a thread that does not show the image but instead just the bb code in it?

Do I make sensek, lol...

Thanks for answering back squidsk.

CAG CheechDogg 07-18-2012 04:04 AM

This has to do more with the creation of the award submissions thread than anything else.

afmarko99 07-18-2012 03:07 PM

I used to run the 3.8 version but had it disabled as I upgraded to 4.xxx. I installed this version but it looks like I need to edit the award.php file as it doesn't show my site's custom navbar.

Please visit and compare to the rest of the site. I have contacted my site builder but I am hoping someone can help me figure it out on my own as he takes awhile to respond.

http://www.thepublicenemy.net/awards.php

squidsk 07-18-2012 03:33 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2349153)
Yes they display in the Awards page in the forums but not in my backend. If I use absolute they wont display in my backend but of course show up because the bb code does handle absolute.

But if you use the relative urls then what is the point of creating a thread that does not show the image but instead just the bb code in it?

Do I make sensek, lol...

Thanks for answering back squidsk.

Because most sites have html disabled in posts, as they should. This means that a post added to the post table can't have html tags or it won't display, so bbcode must be used.

Quote:

Originally Posted by EaglezEye (Post 2349274)
I used to run the 3.8 version but had it disabled as I upgraded to 4.xxx. I installed this version but it looks like I need to edit the award.php file as it doesn't show my site's custom navbar.

Please visit and compare to the rest of the site. I have contacted my site builder but I am hoping someone can help me figure it out on my own as he takes awhile to respond.

http://www.thepublicenemy.net/awards.php

You've likely upgraded to 4.2, which uses a different navigation system. You'll need to manually add the awards tab using the navigation manager in admincp.

afmarko99 07-18-2012 03:42 PM

Quote:

Originally Posted by squidsk (Post 2349279)
Because most sites have html disabled in posts, as they should. This means that a post added to the post table can't have html tags or it won't display, so bbcode must be used.



You've likely upgraded to 4.2, which uses a different navigation system. You'll need to manually add the awards tab using the navigation manager in admincp.

The problem isn't adding an awards link to my navbar. I have manually added it already. The problem is on the actual awards.php page IE http://www.thepublicenemy.net/awards.php

My main navbar is screwed up. I'm trying to figure out how to get it like the rest of my site.

squidsk 07-18-2012 03:55 PM

Is it messed up with the default style? I'm asking because that custom style has a tonne of xhtml validation errors, any of which might cause odd behaviour with the appearance of a page.

afmarko99 07-18-2012 04:41 PM

Quote:

Originally Posted by squidsk (Post 2349284)
Is it messed up with the default style? I'm asking because that custom style has a tonne of xhtml validation errors, any of which might cause odd behaviour with the appearance of a page.

No the default style is fine but thats because the default style only has the VB navbar not the custom navbar he has added to the forum.

Here is the custom navbar coding in the 'header' template:

<!-- Begin Menu -->
<ul id="nav">
<li><a href="http://www.thepublicenemy.net/home/i...">Home</a></li>
<li><a href="http://www.thepublicenemy.net/forum.php">Forum</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/search...orum_Post">New Posts</a></li>
<li><a href="http://www.thepublicenemy.net/search.php?do=getdaily&contenttype=vBForum_Post">T oday's Posts</a></li>
<li><a href="http://www.thepublicenemy.net/forumdisplay.php?2-Bullshitters-Bench">Bullshitter's Bench</a></li>
<li><a href="http://www.thepublicenemy.net/forumd...3">Battlefield 3</a></li>
<li><a href="http://www.thepublicenemy.net/forumd...scussion">Clan Discussion</a></li>
</ul><!-- End Sub Level -->
</li>
<li><a href="#">-TPE- Center</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/home/i...Roster</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...istory</a></li>
<li><a href="http://www.thepublicenemy.net/forms....rm&fid=1">Join -TPE-</a></li>
<li><a href="https://www.paypal.com/cgi-bin/websc...=3BDCYPJFTLMQ4" target="_blank">Donate</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...icID=6">Recent Donators</a></li>
</ul><!-- End Sub Level -->
</li>
<li><a href="#">-TPE- Center 2</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/awards.php">Awards Program</a></li>
<li><a href="http://battlelog.battlefield.com/bf3...5240986011936/" target="_blank">Battlelog Page</a></li>
<li><a href="http://www.youtube.com/user/TPEthepublicenemy/feed" target="_blank">Youtube Page</a></li>
</ul><!-- End Sub Level -->

<li><a href="#">Competition</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/home/i...e=clanwars">BF 3 Matches</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...cID=2">Overall Match History</a></li>
</ul><!-- End Sub Level -->
</li>
<li><a href="#">Media & Info</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/home/i...aticID=4">-TPE- Videos</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...aticID=5">-TPE- Gallery</a></li>
<li><a href="http://www.thepublicenemy.net/home/index.php">News Archive</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...ticles</a></li>
<li><a href="http://www.thepublicenemy.net/calend...lendar</a></li>
</ul><!-- End Sub Level -->
</li>
</ul>
<!-- End Menu -->


Can I build a new template based off 'header' and replace the line in the awards template?
Then edit the new template IE header_awards and try to fix the issue that is conflicting with the awards template?

squidsk 07-18-2012 07:21 PM

Quote:

Originally Posted by EaglezEye (Post 2349297)
No the default style is fine but thats because the default style only has the VB navbar not the custom navbar he has added to the forum.

Here is the custom navbar coding in the 'header' template:

<!-- Begin Menu -->
<ul id="nav">
<li><a href="http://www.thepublicenemy.net/home/i...">Home</a></li>
<li><a href="http://www.thepublicenemy.net/forum.php">Forum</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/search...orum_Post">New Posts</a></li>
<li><a href="http://www.thepublicenemy.net/search.php?do=getdaily&contenttype=vBForum_Post">T oday's Posts</a></li>
<li><a href="http://www.thepublicenemy.net/forumdisplay.php?2-Bullshitters-Bench">Bullshitter's Bench</a></li>
<li><a href="http://www.thepublicenemy.net/forumd...3">Battlefield 3</a></li>
<li><a href="http://www.thepublicenemy.net/forumd...scussion">Clan Discussion</a></li>
</ul><!-- End Sub Level -->
</li>
<li><a href="#">-TPE- Center</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/home/i...Roster</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...istory</a></li>
<li><a href="http://www.thepublicenemy.net/forms....rm&fid=1">Join -TPE-</a></li>
<li><a href="https://www.paypal.com/cgi-bin/websc...=3BDCYPJFTLMQ4" target="_blank">Donate</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...icID=6">Recent Donators</a></li>
</ul><!-- End Sub Level -->
</li>
<li><a href="#">-TPE- Center 2</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/awards.php">Awards Program</a></li>
<li><a href="http://battlelog.battlefield.com/bf3...5240986011936/" target="_blank">Battlelog Page</a></li>
<li><a href="http://www.youtube.com/user/TPEthepublicenemy/feed" target="_blank">Youtube Page</a></li>
</ul><!-- End Sub Level -->

<li><a href="#">Competition</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/home/i...e=clanwars">BF 3 Matches</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...cID=2">Overall Match History</a></li>
</ul><!-- End Sub Level -->
</li>
<li><a href="#">Media & Info</a>
<ul><!-- Begin Sub Level -->
<li><a href="http://www.thepublicenemy.net/home/i...aticID=4">-TPE- Videos</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...aticID=5">-TPE- Gallery</a></li>
<li><a href="http://www.thepublicenemy.net/home/index.php">News Archive</a></li>
<li><a href="http://www.thepublicenemy.net/home/i...ticles</a></li>
<li><a href="http://www.thepublicenemy.net/calend...lendar</a></li>
</ul><!-- End Sub Level -->
</li>
</ul>
<!-- End Menu -->


Can I build a new template based off 'header' and replace the line in the awards template?
Then edit the new template IE header_awards and try to fix the issue that is conflicting with the awards template?

A couple of things, there's an unofficial patch to YAAS that you do not appear to be using. You can grab it from here.

Also you're menu is missing the </li> that corresponds to TPE - Center 2.

I'm not sure that will fix everything, but it will at least start you in the right direction.

afmarko99 07-18-2012 07:33 PM

Quote:

Originally Posted by squidsk (Post 2349334)
A couple of things, there's an unofficial patch to YAAS that you do not appear to be using. You can grab it from here.

Also you're menu is missing the </li> that corresponds to TPE - Center 2.

I'm not sure that will fix everything, but it will at least start you in the right direction.

Thanks but that didnt fix the problem.

squidsk 07-18-2012 08:03 PM

Quote:

Originally Posted by EaglezEye (Post 2349340)
Thanks but that didnt fix the problem.

Figured it out, its actually what I thought was a vbulletin bug that I mentioned a few pages ago but isn't. If you edit the template AWARDS and just before</head> add {vb:raw headinclude_bottom}. This should fix the issue.

afmarko99 07-18-2012 08:23 PM

Quote:

Originally Posted by squidsk (Post 2349355)
Figured it out, its actually what I thought was a vbulletin bug that I mentioned a few pages ago but isn't. If you edit the template AWARDS and just before</head> add {vb:raw headinclude_bottom}. This should fix the issue.

My friend you are a Genius!

Thank you very much. I would have never figured that out alone.

CAG CheechDogg 07-19-2012 04:51 AM

Quote:

Originally Posted by squidsk (Post 2349279)
Because most sites have html disabled in posts, as they should. This means that a post added to the post table can't have html tags or it won't display, so bbcode must be used.


Ah snaps! Makes sense..so If I enable html just in that forum it should be fine right?

Crotan 07-19-2012 07:17 PM

Quote:

Originally Posted by squidsk (Post 2349355)
Figured it out, its actually what I thought was a vbulletin bug that I mentioned a few pages ago but isn't. If you edit the template AWARDS and just before</head> add {vb:raw headinclude_bottom}. This should fix the issue.

Something similar needs to be done for the awards_recommend_form template and awards_request_form

EDIT: I should say everyone of his award templates that are their own page

Specifically in templates
awards_recommend_form
awards_request_form
awards_viewaward

where
HTML Code:

$headinclude

</head>

should be
HTML Code:

$headinclude
$headinclude_bottom
</head>


squidsk 07-29-2012 12:59 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2349430)
Ah snaps! Makes sense..so If I enable html just in that forum it should be fine right?

No, because the post was created with the assumption that html would not work, so bbcode was used instead. The problem is that the [img]https://vborg.vbsupport.ru/[/img] bbcode does not handle relative links. A fix to the bbcode, no likely to be done, or a fix to the code to generate that post which prepends the site url to relative urls needs to be done. I can likely do the second, but wouldn't count on jelsoft doing the first. They may even have reasons for not doing it, which if I were to guess it would be because it is too difficult to determine what a valid relative url looks like.

Quote:

Originally Posted by Crotan (Post 2349628)
Something similar needs to be done for the awards_recommend_form template and awards_request_form

EDIT: I should say everyone of his award templates that are their own page

Specifically in templates
awards_recommend_form
awards_request_form
awards_viewaward

where
HTML Code:

$headinclude

</head>

should be
HTML Code:

$headinclude
$headinclude_bottom
</head>


Thanks, I'll see about putting together a new version with all the templates updated.

r00028304 08-02-2012 06:46 PM

Anyone know whats wrong here? - It worked fine and then stopped working?
Code:

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in /home/xxx/public_html/xxx/awards.php:99) in /home/xxx/public_html/xxx/includes/adminfunctions.php on line 1922


All times are GMT. The time now is 09:13 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.02955 seconds
  • Memory Usage 1,917KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_html_printable
  • (22)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