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)

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.


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