vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Creating Addons (https://vborg.vbsupport.ru/showthread.php?t=314198)

ozzy47 09-29-2014 12:54 PM

Looks ok, but I on my mobile, so hard to tell.

Just moderate the post with the moderation tools menu when viewing a post.

Black Snow 09-29-2014 01:04 PM

I have spent the last 2 hours trying to get it to work. Im not sure if I'm using the wrong hook location (it's parse_templates at the moment) or theres something else wrong.

ozzy47 09-29-2014 01:12 PM

I can check when I get off work. Where exactly is the color change supposed to show?

Black Snow 09-29-2014 01:13 PM

The background of the post should change. I'm trying to get this edit to be a mod.

https://vborg.vbsupport.ru/showthread.php?t=285655

ozzy47 09-29-2014 01:16 PM

All right, I'll look when I get home later today.

Black Snow 09-29-2014 01:21 PM

Quote:

Originally Posted by ozzy47 (Post 2516865)
All right, I'll look when I get home later today.

Thanks mate. Heres the addon im trying to make so you can test it.

ozzy47 09-29-2014 01:54 PM

There might be a easier way to do it, I'll look into it later.

Black Snow 09-29-2014 01:55 PM

OK cool. I want it to be an addon so I can add options to it later.

--------------- Added [DATE]1412024571[/DATE] at [TIME]1412024571[/TIME] ---------------

Spend another 3 hours researching the issue and can't find the problem

ozzy47 09-29-2014 08:39 PM

1 Attachment(s)
Ok here it is. I also added the missing settings for the mod, and set the product URL and the version check URL.

I would suggest creating a stylevar for the background color, instead of having it hardcoded or as a option in the settings. This way the end user can have different colors for different styles.

I would uninstall your version, then load this one up. :)

Black Snow 09-29-2014 08:44 PM

Thanks. Can you tell me what you added so I know for next time?


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