21
Flazz
Re:popup menu
  • 2004/10/5 18:52

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Thank you, you are a star



22
Flazz
popup menu
  • 2004/10/5 18:20

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


hi, i noticed this site uses popup menus for the newbb2 forum. In the RC1 document I noticed it said to make shore
<{xoops_module_header}>
is in the theme.html

Well its not, and my forum looks a mess. where do I put this code.

I did try just sticking it in the theme.html. But my site just wouldn't load past where I put it

Could some one help?



23
Flazz
Re: Upgraded How?
  • 2004/9/22 14:49

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


had a problem, sorted it now. FTP prgram didn't upload all the php file DOH!



24
Flazz
Re: intergrating webpage
  • 2004/9/18 2:52

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


YES I DID IT

okay, took me another 4 hours to figure it out.

See the program stiched the lines of the code together. Why? I have no Idea. But What I realised is that the code should work on one line, it just needs to be spaced out correctly. So within the template code Instead of pressing enter after each ";" I used space.

I know, but it is late

So now, anyway, when the program uses the tamplate the code stays as it should, for every page
Now it looks like it belongs there.

I hope this helps someone in the future



25
Flazz
Re: intergrating webpage
  • 2004/9/18 0:30

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Okay so how this program works is based on templates, so I put the php code athe begining and the end of the template in the hope that it would put that sript at the start and finsh of all the pages it makes (I also told it to make .php and not .hml)

Well it worked, kind of

It has indeed put the code at the start and finsh of the html, however its all one line which makes it not work. to make it work I have to go thought each page and edit the code, which what im trying to avoid

But the good news is once edited, the links do indeed onpen and keep the integraty of xoops

ill keep you posted

and help welcome tho as its now 2 in the mornig of the 4th day



26
Flazz
Re: intergrating webpage
  • 2004/9/17 23:37

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Ive tryed tinycontens but again the links just open on a blank page (this also happens when I use custom blocks)

As stated above
Quote:
What I would like to know is if there is away of having the links open within xoops? without having to trowel through all the html pages rescripting them, becouse the html pages will be updated regualy using the combatstats program and as more people use our server more web pages will be made


At the moment its 30 pages and will get bigger and is updated every day so you can see why I dont want to rescript every page.



27
Flazz
intergrating webpage
  • 2004/9/17 19:38

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Okay heres my problem. I currently run a Call of duty clan. I am trying to intergrate a html based web site, generated by a program called combatstats, seamlessly into the clans XOOPS site.

So far I have manged to get the index.hmtl page to work this way by inserting

<?php
$prepend_dir
=XOOPS_ROOT_PATH.($SCRIPT_FILENAME);  
if(
file_exists("$prepend_dir/mainfile.php"))
include(
"$prepend_dir/mainfile.php");
elseinclude("../../mainfile.php");
if(
file_exists("$prepend_dir/header.php"))
include(
"$prepend_dir/header.php");
elseinclude(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
$prepend_dir=dirname($SCRIPT_FILENAME);
$mydirname basenamedirname__FILE__ ) ) ;
?>


at the begining as well as

<?php   
$prepend_dir
=XOOPS_ROOT_PATH.($SCRIPT_FILENAME);
if(
file_exists("$prepend_dir//footer.php"))
include(
"$prepend_dir//footer.php");
else
include(
XOOPS_ROOT_PATH."//footer.php");
include 
XOOPS_ROOT_PATH.'/include/comment_view.php';
?>


at the end. Putting the original HMTL code in between. I then made the index.html file into index.php

This made the index now look like it belongs to the XOOPS site.

Where my problem begins tho, is when one of the links on the page is selected it opens the link in a blank page, therefore getting rid of all things XOOPS

What I would like to know is if there is away of having the links open within xoops? without having to trowel through all the html pages rescripting them, becouse the html pages will be updated regualy using the combatstats program and as more people use our server more web pages will be made

Any ideas would be appresiated as I've been at this for 3 days now and have run out of ideas, which isn't hard as Im a PHP NOOB



28
Flazz
Re: OMG!! I KILLED MY SITE
  • 2004/7/7 12:22

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Okay now my problem is that allthough the database is back, when typing in the site address, it no longer finds the XOOPS part. You need to type in the address

http://...../modules/news/

Isthere any way of getting around this?



29
Flazz
Re: OMG!! I KILLED MY SITE
  • 2004/7/7 11:23

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Its typical, I was just about to make the site public, and back it up. Got in touch with the host, apparently they have a week old back up

Better than nothing




30
Flazz
OMG!! I KILLED MY SITE
  • 2004/7/7 10:49

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


HELP ME,

I have killed my sites database

I was trying to get a second geustmap to work, when the thing deleted all entries in the sites MySQL database. It now only has three globetrotter entries

Is there any way to save the site?

I have worked long and hard on it, and there are lots of entries in news and forum.

Please is there anyway to get it all back? (no backup was made )




TopTop
« 1 2 (3) 4 »



Login

Who's Online

201 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

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

Latest GitHub Commits