21
shaxs
Re: XOOPS wrapper?
  • 2005/1/16 16:50

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


For the time being, I have resorted to a java script pop-up window to show the profiles. The most important part is the roster being integrated as this updated automatically by a windows program. Check it out!

http://legionofdestiny.org/modules/profiles/

I think I will release this whole package as a XOOPS module. Stay tuned!



22
shaxs
Re: XOOPS wrapper?
  • 2005/1/16 16:31

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


Also, I thought it might be useful to include the source code for the char.php page. I couldn't figure out how to post the code without XOOPS converting php tags, So I have the open brackets deleted and replaced with a (, but not in the source code. It is below:

======================

(?php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
include "conf.php";
include "lib/char.php";
include "lib/bag.php";
$xoopsOption['show_rblock'] = 1;
?>

(?php
header("Content-type: text/html; charset=utf-8");



$wowdb->connect( $db_host, $db_user, $db_passwd, $db_name );

$name = $_REQUEST['name'];
$server = $_REQUEST['server'];

if( get_magic_quotes_gpc() ) {
$name = stripslashes( $name );
$server = stripslashes( $server );
}


$char = char_get_one( $name, $server );

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
(html>
(head>
(title>WoW : '.$char->get('name').'</title>
(link rel="stylesheet" type="text/css" href="'.$stylesheet.'" />
<script type="text/javascript" src="tooltip.js"></script>
(/head>
(body>
';
$char->out();
if( $show_inventory == 1 ) {
$bag0 = bag_get( $name, $server, "Bag0" );
if( isset( $bag0 ) ) {
$bag0->out();
}
$bag1 = bag_get( $name, $server, "Bag1" );
if( isset( $bag1 ) ) {
$bag1->out();
}
$bag2 = bag_get( $name, $server, "Bag2" );
if( isset( $bag2 ) ) {
$bag2->out();
}
$bag3 = bag_get( $name, $server, "Bag3" );
if( isset( $bag3 ) ) {
$bag3->out();
}

$bag4 = bag_get( $name, $server, "Bag4" );
if( isset( $bag4 ) ) {
$bag4->out();
}
}
echo '</body></html>';


?>



(?php
include(XOOPS_ROOT_PATH."/footer.php");
?>



23
shaxs
Re: XOOPS wrapper?
  • 2005/1/16 16:24

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


If you go tohttp://legionofdestiny.org/modules/profiles/, you will see I have successfuly integrated the roster page using "my page". However, if you click on "Shaxs", it takes you herehttp://legionofdestiny.org/modules/profiles/char.php?name=Shaxs&server=Elune. As you can see, the site then gets broken. This is because the page is trying to call two different css files. One for the char.php page that formats the profile of my WoW character found here:http://legionofdestiny.org/modules/profiles/default.css and then it is also calling the css file of the theme found here:http://legionofdestiny.org/themes/warcraft/style.css. I am not a pro at css and tried to integrate the two so that the site design stays in tact, but the profile design does as well. But, I could not.

Can anyone take a look at these two and try to merge them?



24
shaxs
Re: XOOPS wrapper?
  • 2005/1/16 15:18

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


I just found this moments before you replied :) Also, I have downloaded my page and will try both and see how it works.



25
shaxs
Re: XOOPS wrapper?
  • 2005/1/16 10:37

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


Okay,


If you go tohttp://www.LegionOfDestiny.org you will se my home page with an article with a link that goes tohttp://www.legionofdestiny.org/framebrowser.php?urlnav=http://www.legionofdestiny.org/wow/ . Now, the odd thing is the light brown and white borders in the page where the iframe loads. Anyway to correct this? Muct be in the css somewhere to set the background image to the image being used on the site. Also, whenever you go tohttp://www.legionofdestiny.org/framebrowser.php?urlnav=http://www.legionofdestiny.org/wow/ , it doesnt show the main menu on the side and it shows me logged out, but as soon as I click on home, there I am logged in with all the menus. Odd, anyway to fix that?



26
shaxs
Need to wrap a link into xoops
  • 2005/1/16 4:25

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


Hey Guys,


I tried Tiny Content and CJ Content, but they have not done what I needed. I need to have the content of this pagehttp://www.legionofdestiny.org/wow/index.php , show up in the middle of my pagehttp://legionofdestiny.org in some type of module. If you see here, this phpnuke CMS has done what I want to do. Since XOOPS is 100 times better, it should be able to do this :)http://www.sinvida.net/nuke/modules.php?name=NukeWrap&page=http://www.sinvida.net/WoWProfiler/



27
shaxs
Re: Looking for an easy clean news/article System
  • 2005/1/11 8:08

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


double post



28
shaxs
Re: Looking for an easy clean news/article System
  • 2005/1/11 8:06

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


Quote:

brash wrote:
Why are you uploading it again ? The physical files will be perfectly ok, it is database that will hold the invalid record. Just uninstall the module from the XOOPS admin panel (exact opposite of how you installed it) so that all the AMS database tables are removed, and then install it again the same as you did in first place.


Sorry, Im talking about the image manager, not AMS. Should be more clear. I apologize.

Also, would you like Amin access to my site to see whats up?



29
shaxs
Re: Looking for an easy clean news/article System
  • 2005/1/11 8:05

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


Okay, it is still breaking. I uninstalled and reinstalled. I then created a topic. I then set my permissioms. It still breaks.

When I go to creat an article, it shows the drop down box, but my topic is not there. So, I believe that sincethere is no topic there and I am submitting the article, which breaks it.

Go here:http://legionofdestiny.org/modules/AMS/submit.php , you will see there is no topic in the drop down box.



30
shaxs
Re: Looking for an easy clean news/article System
  • 2005/1/11 7:39

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


okay when I try to upload a file now, I get this error:

"Could not get uploaded file %s"

Any Clues?




TopTop
« 1 2 (3) 4 5 6 ... 11 »



Login

Who's Online

263 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 263


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits