Jump to content
  • 0

FluxCP Theme Incompatible with RAthena


Bert

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  02/03/12
  • Last Seen:  

As the title stated, I'm currently using a theme which is incompatible with rAthena. What happens is from the default theme, there would be admin menus to be accessed, but in that theme, there isn't any admin menu even when I had already set admin privilege at SQL.

Plus, items can't be added to the itemshop using that theme, but it is OK with the default theme.

Is there a way to solve this or converting it to be compatible of rAthena? I believe it's due to the GM group settings of rAthena. Any ways of help are sincerely appreciated.

Thank you in advance.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Is this a custom theme (design) for your flux or is it the default one? If it's using a default theme.. I would suggest getting FluxCPs that are already based by rAthena such as CalciumKid's or Xantara's.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  02/03/12
  • Last Seen:  

Hi there. It is a custom design for my flux CP. Are there any possible solutions to make it compatible with RA? I wouldn't want to put the design into a waste.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

You should call your designer to update to code?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  02/03/12
  • Last Seen:  

My designer ran away right after everything was done, then here I am asking for guides :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

What happens is from the default theme, there would be admin menus to be accessed, but in that theme, there isn't any admin menu even when I had already set admin privilege at SQL.

From my experience.

Issue: missing group_id

Hint: find and replace level to group_id from your custom theme files.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  02/03/12
  • Last Seen:  

I had found out that we can add announcements from SQL, so not being able to use the built in CMS shouldn't be a problem. I had tested, I can comment on the announcement, the comment system works fine. Problem is, it isn't showing at our main page.

here's the announcement http://www.revived-r...ion=page&post=1

While the main page is http://www.revived-r...in&action=index

sample.jpg

The above is how it should've been shown at the main page, with up to 5 announcements visible.

Below is the code for that part


<?php
/*mySQL connection to retrieve data from 'post' table*/

mysql_connect($host,$username,$password);
@mysql_select_db($database) or die("Unable to select database");

$result=mysql_query("SELECT * FROM cp_posts ORDER BY ID DESC");
$num=mysql_numrows($result);
if($num>7){$num=7;}
$ctr=0;


while($ctr<$num) {
$id=mysql_result($result,$ctr,"ID");
$author=mysql_result($result,$ctr,"post_author");
$title=mysql_result($result,$ctr,"post_title");
$content=mysql_result($result,$ctr,"post_content");
$timestamp=mysql_result($result,$ctr,"post_date");
$type=mysql_result($result,$ctr,"post_type");
$comment=mysql_result($result,$ctr,"comment_count");

//color coding for text 
if($type == "news")
$color = "#d29665";
else if($type =="event")
$color = "#9fc9ce";
else if($type =="update")
$color = "#b2cfa0";



/*
Following code used to display a specific post.
$result=mysql_query("SELECT * FROM cp_posts WHERE ID='$post'");
while ($row = mysql_fetch_assoc($result)) {
$author=$row["post_author"];
$title=$row["post_title"];
$content=$row["post_content"];
$timestamp=$row["post_date"];
$type=$row["post_type"];
$comment=$row["comment_count"];
}

mysql_close();

*/

?>

Is there something wrong with the codes?

Edited by Bert
Link to comment
Share on other sites

×
×
  • Create New...