vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Realm Conquest System (https://vborg.vbsupport.ru/showthread.php?t=211920)

PGAmerica 05-15-2009 07:34 PM

Quote:

Originally Posted by Collussus (Post 1811419)
if anyone needs any more custom stuff in your conquest, ill be happy to make it if i see that it could be used for more than just your forum.

Such as what? It is pretty awesome as it is right now.

BlueNinjaGo 05-15-2009 07:43 PM

Quote:

Originally Posted by Collussus (Post 1811419)
if anyone needs any more custom stuff in your conquest, ill be happy to make it if i see that it could be used for more than just your forum.

Did you check out all the suggestions made so far? Perhaps a compiled list would be easier... But several of my users requested a countdown clock that shows the next cycle

PGAmerica 05-15-2009 09:48 PM

I have a few questions:

1) How do you remove a nation? I do not see any options to do this.
2) I saw vbArmy. Is this basically the same thing only better?
3) How do I remove the link on the navbar (without removing or commenting $template_hook[navbar_buttons_left])? I have an additional navbar and want this there.

BlueNinjaGo 05-15-2009 11:49 PM

There's an option in ACP to turn off the link in the navbar. If you want to add the link somewhere else, just add it manually.

lighthazard 05-16-2009 10:27 AM

Quote:

Originally Posted by BlueNinjaGo (Post 1811175)
A little more detail? Did you just install? Was it working before but now there's errors?

When I try to attack it says I don't have permission to do that.

Collussus 05-16-2009 08:12 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1811441)
Did you check out all the suggestions made so far? Perhaps a compiled list would be easier... But several of my users requested a countdown clock that shows the next cycle

My solution for the countdown clock only works for if you're cycles are under an hour. It went wrong on my forum because for some reason it says you're getting it in an hour, and sometimes the whole clock isn't correct either.... Anyways, here's the simple solution:

add this somewhere in the conquest.php file. Search for :

PHP Code:

if ($_REQUEST['do'] == 'homebase'

under the { add:

PHP Code:

$time $vbulletin->db->query_first("SELECT * FROM ".TABLE_PREFIX."conquest_gameset");
    
$next = ($time[gLastCycle] + (60 $time[gCycleMinutes])) - time();
$player[nextTurn] = date('i:s'$next); 


Then anywhere in your homebase template add something like "Next turn: $player[nextTurn]"

PGAmerica 05-16-2009 08:28 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1811556)
There's an option in ACP to turn off the link in the navbar. If you want to add the link somewhere else, just add it manually.

Thank you, I will check into that. What about my other 2 questions?

Collussus 05-16-2009 09:09 PM

Quote:

Originally Posted by PGAmerica (Post 1811500)
I have a few questions:

1) How do you remove a nation? I do not see any options to do this.
2) I saw vbArmy. Is this basically the same thing only better?
3) How do I remove the link on the navbar (without removing or commenting $template_hook[navbar_buttons_left])? I have an additional navbar and want this there.

1) I cant find the option either. I havent looked at the database but i guess the query for deleting a nation would be something like: DELETE FROM TABLE_PREFIXconquest_nations WHERE nID = <id> (not sure about this)

2) it's based on the idea, it's not the same.

3) Been answered already :p

EDIT:

If anyone is using kbank on their forum too, i made an item for the shop to give turns when you buy it ;)

legion! 05-17-2009 05:04 AM

this hack is a beautiful thing i have it up and running on my forums...there shuld be a way to leave an alliance...

BlueNinjaGo 05-17-2009 02:03 PM

Suggestions:
A way to delete factions from the frontend.
A way for users to leave the entire sytem all together. (Maybe with an option so admins can choose if users can rejoin again, and if so, after x days)
A way for users to opt out of PM's.(Some are getting annoyed by them)
Some sort of disadvantage for having an army too large... like an upkeep cost similar to the spy.


All times are GMT. The time now is 09:08 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.01562 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_php_printable
  • (6)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
  • (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