Jump to content

Support Ticket for FluxCP - FREE


Feefty

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

File Name: Support Ticket for FluxCP - FREE

File Submitter: Feefty

File Submitted: 23 Mar 2013

File Category: Web Resources

Content Author: Feefty

FluxCP Addon [support Ticket]

Features:

  • Title Notification (ex. Flux Control Panel (1) - means you have 1 unread support ticket.)
  • Sidebar Notification (ex. View Tickets [3] - means you have 3 unread support ticket)
  • You can easily subscribe/unsubscribe to a ticket even a staff member can unsubscribe to a support ticket.
  • Subscribing (0 to disable the subscribing or 1 to enable. This will affect everyone.)
  • Ticket Delay (0 to disable this feature. They have to wait for 'TicketDelay' hours to open a new ticket.)
  • Priority (Low, Medium or High. To help organize the priority - Can be edited by the staff if it's misleading)
  • Status (Closed, Open, Resolved, Replied)
  • Department (You can add, edit or delete a Department. Group is for the level of the department that can be handled by the staff members.)
  • Reply (Staff Reply will be highlighted and will have an icon to avoid the confusion.)
  • WYSIWYG
  • Settings (For staff only)
    • Nickname (Use ~ character if you want to use your username. By default it will use your username when replying to a ticket.)
    • Email (This email will only be used for support ticketing. Use ~ character if you want to use your account email. By default it will use your account email when receiving emails.)
    • Subcription (Receive email notifications when someone opened or updated a support ticket.)
    • 'Last updated on' will show right next to Save Button.

    [*]Character affected (Select the character where the problem occurred. Disabled if the account doesn't a character yet.)

    [*]Search Engine (If your account is a staff member you can search using their account id, email, char id)

    [*]Ticket Editing (Only the staff can edit a support ticket.)

    [*]Ticket Listing (List of all support tickets. For staff only.)

    [*]Unread ticket will be highlighted in the list.

    [*]Normal Player can open/close their own ticket and only a staff member can resolve/delete a ticket.

    [*]Player/Staff can use @checkunread/@cu in-game to check if they have an unread support ticket.

    [*]PM me if i miss something.

Compability:

Rules:

  • Do not steal the credit of this work.

How to Install:

  • Make a folder named support in addons folder.
  • Extract the files to support folder.
  • Copy the file inside the addons/support/support_templates and paste it to data/templates folder.
  • Add the line below
    • themes/default/header.php -

    Before:

    <?php if (!defined('FLUX_ROOT')) exit;

    After:

    <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');

    • themes/default/main/sidebar.php -

    Before: (You will get 2 results. You will have to do it twice too.)

    <span><?php echo htmlspecialchars($menuItem['name']) ?></span>

    After:

    <?php if ($menuItem['module'] == 'support'): ?> <span><?php echo sprintf($menuItem['name'], " [<strong".($unread > 0 ? " style='color:#d84646'" : "").">".$unread."</strong>") ?>]</span> <?php else: ?> <span><?php echo htmlspecialchars($menuItem['name']) ?></span> <?php endif ?>

    [*]Update your database and make sure cp_support_tickets, cp_support_reply, cp_support_dep and cp_support_settings does exists

    [*]Add a Department first so players can open a ticket.

    [*]Copy addons/support/npc/ticket_notification.txt to your server npc/custom folder or whataver folder you want.

    [*]Paste this line npc: npc/custom/ticket_notification.txt inside your npc/scripts_custom.conf

    [*]You can find all the configuration in addons/support/config/addon.php

    [*]Done.

If you find a bug, please contact me.

Github Download: https://github.com/Feefty/FluxCP_Addons-SupportTicket/archive/master.zip

Github: http://github.com/Feefty

Email: [email protected]

rAthena: Feefty

Feel free to buy me a coffee

Paypal: [email protected]

Click here to download this file

Edited by Feefty
  • Upvote 5
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

File Name: Support Ticket for FluxCP - FREE

File Submitter: Feefty

File Submitted: 23 Mar 2013

File Category: Web Resources

Content Author: Feefty

FluxCP Addon [support Ticket]

Features:

  • Title Notification (ex. Flux Control Panel (1) - means you have 1 unread support ticket.)
  • Sidebar Notification (ex. View Tickets [3] - means you have 3 unread support ticket)
  • You can easily subscribe/unsubscribe to a ticket even a staff member can unsubscribe to a support ticket.
  • Subscribing (0 to disable the subscribing or 1 to enable. This will affect everyone.)
  • Ticket Delay (0 to disable this feature. They have to wait for 'TicketDelay' hours to open a new ticket.)
  • Priority (Low, Medium or High. To help organize the priority - Can be edited by the staff if it's misleading)
  • Status (Closed, Open, Resolved, Replied)
  • Department (You can add, edit or delete a Department. Group is for the level of the department that can be handled by the staff members.)
  • Reply (Staff Reply will be highlighted and will have an icon to avoid the confusion.)
  • WYSIWYG
  • Settings (For staff only)
    • Nickname (Use ~ character if you want to use your username. By default it will use your username when replying to a ticket.)
    • Email (This email will only be used for support ticketing. Use ~ character if you want to use your account email. By default it will use your account email when receiving emails.)
    • Subcription (Receive email notifications when someone opened or updated a support ticket.)
    • 'Last updated on' will show right next to Save Button.
  • Character affected (Select the character where the problem occurred. Disabled if the account doesn't a character yet.)
  • Search Engine (If your account is a staff member you can search using their account id, email, char id)
  • Ticket Editing (Only the staff can edit a support ticket.)
  • Ticket Listing (List of all support tickets. For staff only.)
  • Unread ticket will be highlighted in the list.
  • Normal Player can open/close their own ticket and only a staff member can resolve/delete a ticket.
  • Player/Staff can use @checkunread/@cu in-game to check if they have an unread support ticket.
  • PM me if i miss something.
Compability:Rules:
  • Do not steal the credit of this work.
How to Install:
  • Make a folder named support in addons folder.
  • Extract the files to support folder.
  • Copy the file inside the addons/support/support_templates and paste it to data/templates folder.
  • Add the line below
    • themes/default/header.php -
    Before:

    <?php if (!defined('FLUX_ROOT')) exit;
    After:

    <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');
    • themes/default/main/sidebar.php -
    Before: (You will get 2 results. You will have to do it twice too.)

    <span><?php echo htmlspecialchars($menuItem['name']) ?></span>
    After:

    <?php if ($menuItem['module'] == 'support'): ?> <span><?php echo sprintf($menuItem['name'], " [<strong".($unread > 0 ? " style='color:#d84646'" : "").">".$unread."</strong>") ?>]</span> <?php else: ?> <span><?php echo htmlspecialchars($menuItem['name']) ?></span> <?php endif ?>
  • Update your database and make sure cp_support_tickets, cp_support_reply, cp_support_dep and cp_support_settings does exists
  • Add a Department first so players can open a ticket.
  • Copy addons/support/npc/ticket_notification.txt to your server npc/custom folder or whataver folder you want.
  • Paste this line npc: npc/custom/ticket_notification.txt inside your npc/scripts_custom.conf
  • You can find all the configuration in addons/support/config/addon.php
  • Done.
If you find a bug, please contact me.

Github Download: https://github.com/Feefty/FluxCP_Addons-SupportTicket/archive/master.zip

Github: http://github.com/Feefty

Email: [email protected]

rAthena: Feefty

Feel free to buy me a coffee

Paypal: [email protected]

Click here to download this file

wow very nice :) thanks for this man

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

nice release /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

Thanks bro your so kind to release this kind of addons :) for free...thanks +10

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

<?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');

 

I got error on this part? my flux doesn't show if I input this do header

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

Perhaps add an in-game feature that checks if you have any pending tickets every x-seconds/minutes as well? That'd be a nice feature, methinks.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

<?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');

 

I got error on this part? my flux doesn't show if I input this do header

can you set the $showExceptions to true in config/error.php and let me know the errors. thanks

 

Perhaps add an in-game feature that checks if you have any pending tickets every x-seconds/minutes as well? That'd be a nice feature, methinks.

yeah, i think i can add that up. thanks for suggesting.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

 

<?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');

 

I got error on this part? my flux doesn't show if I input this do header

can you set the $showExceptions to true in config/error.php and let me know the errors. thanks

 

>Perhaps add an in-game feature that checks if you have any pending tickets every x-seconds/minutes as well? That'd be a nice feature, methinks.

yeah, i think i can add that up. thanks for suggesting.

 

 

i love you man <3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

$showExceptions  = true;              // Whether or not to show exceptions (only applies to error.php)

 

I still have the same error I already set this to true

 

 

Header.php

<?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<?php if (isset($metaRefresh)): ?>
		<meta http-equiv="refresh" content="<?php echo $metaRefresh['seconds'] ?>; URL=<?php echo $metaRefresh['location'] ?>" />
		<?php endif ?>
		<title><?php echo Flux::config('SiteTitle'); if (isset($title)) echo ": $title" ?></title>
		<link rel="stylesheet" href="<?php echo $this->themePath('css/flux.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<link href="<?php echo $this->themePath('css/flux/unitip.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />
		<?php if (Flux::config('EnableReCaptcha')): ?>
		<link href="<?php echo $this->themePath('css/flux/recaptcha.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />
		<?php endif ?>

		<script type="text/javascript" src="<?php echo $this->themePath('js/jquery-1.8.3.min.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.datefields.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitip.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/drawmove.js') ?>"></script>
		
				
		<!--[if lt IE 9]>
		<link rel="stylesheet" href="<?php echo $this->themePath('css/flux/ie.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<![endif]-->	
		
		<!--[if lt IE 9]>
		<script src="<?php echo $this->themePath('js/ie9.js') ?>" type="text/javascript"></script>
		<![endif]-->
		
		<!--[if lt IE 6]>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitpngfix.js') ?>"></script>
		<![endif]-->
		
		<script type="text/javascript">
			$(document).ready(function(){
				var inputs = 'input[type=text],input[type=password],input[type=file]';
				$(inputs).focus(function(){
					$(this).css({
						'background-color': '#f9f5e7',
						'border-color': '#dcd7c7',
						'color': '#726c58'
					});
				});
				$(inputs).blur(function(){
					$(this).css({
						'backgroundColor': '#ffffff',
						'borderColor': '#dddddd',
						'color': '#444444'
					}, 500);
				});
				$('.menuitem a').hover(
					function(){
						$(this).fadeTo(200, 0.85);
						$(this).css('cursor', 'pointer');
					},
					function(){
						$(this).fadeTo(150, 1.00);
						$(this).css('cursor', 'normal');
					}
				);
				$('.money-input').keyup(function() {
					var creditValue = parseInt($(this).val() / <?php echo Flux::config('CreditExchangeRate') ?>, 10);
					if (isNaN(creditValue))
						$('.credit-input').val('?');
					else
						$('.credit-input').val(creditValue);
				}).keyup();
				$('.credit-input').keyup(function() {
					var moneyValue = parseFloat($(this).val() * <?php echo Flux::config('CreditExchangeRate') ?>);
					if (isNaN(moneyValue))
						$('.money-input').val('?');
					else
						$('.money-input').val(moneyValue.toFixed(2));
				}).keyup();
				
				// In: js/flux.datefields.js
				processDateFields();
			});
			
			function reload(){
				window.location.href = '<?php echo $this->url ?>';
			}
		</script>
		
		<script type="text/javascript">
			function updatePreferredServer(sel){
				var preferred = sel.options[sel.selectedIndex].value;
				document.preferred_server_form.preferred_server.value = preferred;
				document.preferred_server_form.submit();
			}
			
			// Preload spinner image.
			var spinner = new Image();
			spinner.src = '<?php echo $this->themePath('img/spinner.gif') ?>';
			
			function refreshSecurityCode(imgSelector){
				$(imgSelector).attr('src', spinner.src);
				
				// Load image, spinner will be active until loading is complete.
				var clean = <?php echo Flux::config('UseCleanUrls') ? 'true' : 'false' ?>;
				var image = new Image();
				image.src = "<?php echo $this->url('captcha') ?>"+(clean ? '?nocache=' : '&nocache=')+Math.random();
				
				$(imgSelector).attr('src', image.src);
			}
			function toggleSearchForm()
			{
				//$('.search-form').toggle();
				$('.search-form').slideToggle('fast');
			}
		</script>
		
		<?php if (Flux::config('EnableReCaptcha') && Flux::config('ReCaptchaTheme')): ?>
		<script type="text/javascript">
			 var RecaptchaOptions = {
			    theme : '<?php echo Flux::config('ReCaptchaTheme') ?>'
			 };
		</script>
		<?php endif ?>
		
	</head>
	
	
	<body>
		
		<div id="wrapper">
			
			<div id="header" style="background-image: url('<?php echo $this->themePath('img/bg.jpg'); ?>');">
				<div id="topbar">
					<div id="toppanel">
						<div style='float:left;'>Server:<span id="server" class="<?php echo $serverOnline; ?>"><?php echo $serverOnline; ?></span></div>
						<div style='float:right;'>Players:<span id="players"><?php echo $onlinePlayersCount; ?></span> </div>
					</div> <!-- toppanel -->
				</div> <!-- topbar -->
				
				<div class="colwidth">
					
					
					<div id="logo">
							<a href="<?php echo $this->basePath ?>">
								<img src='<?php echo $this->themePath('img/logo.png') ?>' />
							</a>
					</div> <!-- logo -->
					
					<div id="drawmoveCanvasContainer">
						
					</div> <!-- drawmove canvas -->
				</div> <!-- colwidth -->
		
			</div> <!-- header -->
		
		<div id="menu" style="background-image: url('<?php echo $this->themePath('img/menufond.png'); ?>');">
			<div class="colwidth">
				<ul>
					<li><a href='?module=news&action=view'><b>News</b></a></li>
					<li><a href='https://www.facebook.com/pages/Zhen-RO/387748977957774?id=387748977957774&sk=info'>Informations</a></li>
					<li><a href='?module=donate'>Donation</a></li>
					<li><a href='http://www.mediafire.com/?nal5wcft18kx67l/?module=pages&action=content&path=downloads'>Download Lite</a></li>
					<li><a href='?module=pages&action=content&path=boards'>Boards</a></li>
				</ul>
				
				<div id="loginbox">
					<?php if ($session->isLoggedIn()): ?>
						<?php include ('main/loginbox.php'); ?>
					<?php else:?>
						<?php include ('main/loginsmall.php'); ?>
					<?php endif?>
				</div> <!-- login box -->
				 
			</div> <!-- col width menu -->
		</div>	 <!-- menu -->
		
		<div id="content" style="background-image: url('<?php echo $this->themePath('img/deggreysite.png'); ?>');">
			
			<div class="colwidth">
		
				<div id="sidebar">
					
					<a href='http://ratemyserver.net/index.php?page=detailedlistserver&serid=15554&url_sname=ZhenRO'><img src='<?php echo $this->themePath('img/rms.png') ?>'/></a>
					<a href='?module=pages&action=content&path=download'><img src='<?php echo $this->themePath('img/donate.png') ?>'/></a>
					<a href='?module=voteforpoints'><img src='<?php echo $this->themePath('img/vote.png') ?>'/></a>
					<a href='#'><img src='<?php echo $this->themePath('img/guildpack.png') ?>'/></a>
					<a href='#'><img src='<?php echo $this->themePath('img/gettingstarted.png') ?>'/></a>
					<a href='#'><img src='<?php echo $this->themePath('img/wiki.png') ?>'/></a>
					

					<?php include 'main/sidebar.php' ?>
					
					<br>
					<!-- Drawmove Logo, you can remove it =) -->
					<center>
					<a href='http://www.drawmove.net'><img src='<?php echo $this->themePath('img/drawmove.png') ?>' /></a>
					</center>
					<!-- End drawmove logo part -->
					
				</div>	<!-- sidebar -->
				
				<div id="wrapperMain">
				
					<!-- admin menu -->
					<?php include 'main/adminmenu.php' ?>
	
					<div id="main">
						
						<?php if (Flux::config('DebugMode') && @gethostbyname(Flux::config('ServerAddress')) == '127.0.0.1'): ?>
							<p class="notice">Please change your <strong>ServerAddress</strong> directive in your application config to your server's real address (e.g., myserver.com).</p>
						<?php endif ?>
						
						<!-- Messages -->
						<?php if ($message=$session->getMessage()): ?>
							<p class="message"><?php echo htmlspecialchars($message) ?></p>
						<?php endif ?>
						
						<!-- Sub menu -->
						<?php include 'main/submenu.php' ?>
						
						<!-- Page menu -->
						<?php include 'main/pagemenu.php' ?>
						
						<!-- Credit balance -->
						<?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?>
		

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

$showExceptions  = true;              // Whether or not to show exceptions (only applies to error.php)

 

I still have the same error I already set this to true

 

 

Header.php

<?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<?php if (isset($metaRefresh)): ?>
		<meta http-equiv="refresh" content="<?php echo $metaRefresh['seconds'] ?>; URL=<?php echo $metaRefresh['location'] ?>" />
		<?php endif ?>
		<title><?php echo Flux::config('SiteTitle'); if (isset($title)) echo ": $title" ?></title>
		<link rel="stylesheet" href="<?php echo $this->themePath('css/flux.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<link href="<?php echo $this->themePath('css/flux/unitip.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />
		<?php if (Flux::config('EnableReCaptcha')): ?>
		<link href="<?php echo $this->themePath('css/flux/recaptcha.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />
		<?php endif ?>

		<script type="text/javascript" src="<?php echo $this->themePath('js/jquery-1.8.3.min.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.datefields.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitip.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/drawmove.js') ?>"></script>
		
				
		<!--[if lt IE 9]>
		<link rel="stylesheet" href="<?php echo $this->themePath('css/flux/ie.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<![endif]-->	
		
		<!--[if lt IE 9]>
		<script src="<?php echo $this->themePath('js/ie9.js') ?>" type="text/javascript"></script>
		<![endif]-->
		
		<!--[if lt IE 6]>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitpngfix.js') ?>"></script>
		<![endif]-->
		
		<script type="text/javascript">
			$(document).ready(function(){
				var inputs = 'input[type=text],input[type=password],input[type=file]';
				$(inputs).focus(function(){
					$(this).css({
						'background-color': '#f9f5e7',
						'border-color': '#dcd7c7',
						'color': '#726c58'
					});
				});
				$(inputs).blur(function(){
					$(this).css({
						'backgroundColor': '#ffffff',
						'borderColor': '#dddddd',
						'color': '#444444'
					}, 500);
				});
				$('.menuitem a').hover(
					function(){
						$(this).fadeTo(200, 0.85);
						$(this).css('cursor', 'pointer');
					},
					function(){
						$(this).fadeTo(150, 1.00);
						$(this).css('cursor', 'normal');
					}
				);
				$('.money-input').keyup(function() {
					var creditValue = parseInt($(this).val() / <?php echo Flux::config('CreditExchangeRate') ?>, 10);
					if (isNaN(creditValue))
						$('.credit-input').val('?');
					else
						$('.credit-input').val(creditValue);
				}).keyup();
				$('.credit-input').keyup(function() {
					var moneyValue = parseFloat($(this).val() * <?php echo Flux::config('CreditExchangeRate') ?>);
					if (isNaN(moneyValue))
						$('.money-input').val('?');
					else
						$('.money-input').val(moneyValue.toFixed(2));
				}).keyup();
				
				// In: js/flux.datefields.js
				processDateFields();
			});
			
			function reload(){
				window.location.href = '<?php echo $this->url ?>';
			}
		</script>
		
		<script type="text/javascript">
			function updatePreferredServer(sel){
				var preferred = sel.options[sel.selectedIndex].value;
				document.preferred_server_form.preferred_server.value = preferred;
				document.preferred_server_form.submit();
			}
			
			// Preload spinner image.
			var spinner = new Image();
			spinner.src = '<?php echo $this->themePath('img/spinner.gif') ?>';
			
			function refreshSecurityCode(imgSelector){
				$(imgSelector).attr('src', spinner.src);
				
				// Load image, spinner will be active until loading is complete.
				var clean = <?php echo Flux::config('UseCleanUrls') ? 'true' : 'false' ?>;
				var image = new Image();
				image.src = "<?php echo $this->url('captcha') ?>"+(clean ? '?nocache=' : '&nocache=')+Math.random();
				
				$(imgSelector).attr('src', image.src);
			}
			function toggleSearchForm()
			{
				//$('.search-form').toggle();
				$('.search-form').slideToggle('fast');
			}
		</script>
		
		<?php if (Flux::config('EnableReCaptcha') && Flux::config('ReCaptchaTheme')): ?>
		<script type="text/javascript">
			 var RecaptchaOptions = {
			    theme : '<?php echo Flux::config('ReCaptchaTheme') ?>'
			 };
		</script>
		<?php endif ?>
		
	</head>
	
	
	<body>
		
		<div id="wrapper">
			
			<div id="header" style="background-image: url('<?php echo $this->themePath('img/bg.jpg'); ?>');">
				<div id="topbar">
					<div id="toppanel">
						<div style='float:left;'>Server:<span id="server" class="<?php echo $serverOnline; ?>"><?php echo $serverOnline; ?></span></div>
						<div style='float:right;'>Players:<span id="players"><?php echo $onlinePlayersCount; ?></span> </div>
					</div> <!-- toppanel -->
				</div> <!-- topbar -->
				
				<div class="colwidth">
					
					
					<div id="logo">
							<a href="<?php echo $this->basePath ?>">
								<img src='<?php echo $this->themePath('img/logo.png') ?>' />
							</a>
					</div> <!-- logo -->
					
					<div id="drawmoveCanvasContainer">
						
					</div> <!-- drawmove canvas -->
				</div> <!-- colwidth -->
		
			</div> <!-- header -->
		
		<div id="menu" style="background-image: url('<?php echo $this->themePath('img/menufond.png'); ?>');">
			<div class="colwidth">
				<ul>
					<li><a href='?module=news&action=view'><b>News</b></a></li>
					<li><a href='https://www.facebook.com/pages/Zhen-RO/387748977957774?id=387748977957774&sk=info'>Informations</a></li>
					<li><a href='?module=donate'>Donation</a></li>
					<li><a href='http://www.mediafire.com/?nal5wcft18kx67l/?module=pages&action=content&path=downloads'>Download Lite</a></li>
					<li><a href='?module=pages&action=content&path=boards'>Boards</a></li>
				</ul>
				
				<div id="loginbox">
					<?php if ($session->isLoggedIn()): ?>
						<?php include ('main/loginbox.php'); ?>
					<?php else:?>
						<?php include ('main/loginsmall.php'); ?>
					<?php endif?>
				</div> <!-- login box -->
				 
			</div> <!-- col width menu -->
		</div>	 <!-- menu -->
		
		<div id="content" style="background-image: url('<?php echo $this->themePath('img/deggreysite.png'); ?>');">
			
			<div class="colwidth">
		
				<div id="sidebar">
					
					<a href='http://ratemyserver.net/index.php?page=detailedlistserver&serid=15554&url_sname=ZhenRO'><img src='<?php echo $this->themePath('img/rms.png') ?>'/></a>
					<a href='?module=pages&action=content&path=download'><img src='<?php echo $this->themePath('img/donate.png') ?>'/></a>
					<a href='?module=voteforpoints'><img src='<?php echo $this->themePath('img/vote.png') ?>'/></a>
					<a href='#'><img src='<?php echo $this->themePath('img/guildpack.png') ?>'/></a>
					<a href='#'><img src='<?php echo $this->themePath('img/gettingstarted.png') ?>'/></a>
					<a href='#'><img src='<?php echo $this->themePath('img/wiki.png') ?>'/></a>
					

					<?php include 'main/sidebar.php' ?>
					
					<br>
					<!-- Drawmove Logo, you can remove it =) -->
					<center>
					<a href='http://www.drawmove.net'><img src='<?php echo $this->themePath('img/drawmove.png') ?>' /></a>
					</center>
					<!-- End drawmove logo part -->
					
				</div>	<!-- sidebar -->
				
				<div id="wrapperMain">
				
					<!-- admin menu -->
					<?php include 'main/adminmenu.php' ?>
	
					<div id="main">
						
						<?php if (Flux::config('DebugMode') && @gethostbyname(Flux::config('ServerAddress')) == '127.0.0.1'): ?>
							<p class="notice">Please change your <strong>ServerAddress</strong> directive in your application config to your server's real address (e.g., myserver.com).</p>
						<?php endif ?>
						
						<!-- Messages -->
						<?php if ($message=$session->getMessage()): ?>
							<p class="message"><?php echo htmlspecialchars($message) ?></p>
						<?php endif ?>
						
						<!-- Sub menu -->
						<?php include 'main/submenu.php' ?>
						
						<!-- Page menu -->
						<?php include 'main/pagemenu.php' ?>
						
						<!-- Credit balance -->
						<?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?>
		

and whats the errors?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

If I use firefox my flux will just become all white and blank

cannot enter the website

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

If I use firefox my flux will just become all white and blank

cannot enter the website

add me on skype kingfeefty and ill have a look into it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

I already added you!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  138
  • Reputation:   0
  • Joined:  07/05/12
  • Last Seen:  

( Update your database and make sure cp_support_tickets, cp_support_reply, cp_support_dep and cp_support_settings does exists )

 

I want to clarify this sentence

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

@medo did you upload

cp_support_tickets, cp_support_reply, cp_support_dep and cp_support_settings

 

 

to your ragnarok (data base)??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

If I use firefox my flux will just become all white and blank

cannot enter the website

add me on skype kingfeefty and ill have a look into it.

why evertime im going to the link

/?module=support

you need to login i input my account but nothing happens im always there trying to logging im using Xantara Flux CP but im using old flux integ code so i only merge the old flux integ on xantara

Edited by TrojanWorm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

here's my error
 

[24-Mar-2013 10:38:53 America/New_York] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'public_html/username/main/addons/support/modules/support/function.php' (include_path='lib:.:/usr/lib/php:/usr/local/lib/php') in /public_html/main/themes/owner/header.php on line 1
Edited by TrojanWorm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

its now working i figure it out :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

Addon now supported fluxcp for eathena https://code.google.com/p/fluxcp/ please report if you find any bugs.

thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

how to fix this and

http://i50.tinypic.com/239lxs.png

 

and then after i made a ticket it says

 

Unexpected error occurred. (Err no. 1)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

Addon now supported fluxcp for eathena https://code.google.com/p/fluxcp/ please report if you find any bugs.

thanks

how can i edit if i create a ticket or reply 

my username will notshown only the character name?

Edited by TrojanWorm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

Hi,

 

how to fix this.

 

thanks.

 

dY6UJQv.png

 

1FR28bK.png

Edited by Cyrix
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

same prob with him ^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

sorry for late reply. ill have a look into it. also whats your php version?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

PHP Version 5.3.14

Link to comment
Share on other sites

×
×
  • Create New...