51
trspice
Re: XC Gal question
  • 2008/2/20 18:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I had this issue before. John is correct. When you manually delete album files from your server XCgal does not know this since it is reading the database which says there is an album. When deleting albums you should use the XCgal delete tool. That will also delete the files from your server.

Now you need to access phpmyadmin (or which ever method is available). Click the xcgal_albums table then click browse from the menu bar then select the albums you deleted and delete them.
There's nothing but science....
The Reggae Album



52
trspice
Re: Trying to use a smarty tag in an IFrame - need help
  • 2007/12/20 16:52

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks for the suggestion Quest. I did try that but the page returns empty. Here are the methods and results I tried;
Quote:

echo "<{$adverts}>"; //returns <>
echo '<{$adverts}>'; //returns <{$adverts}>
echo "$adverts"; //returns empty page
echo $adverts; //returns empty page


Does the file need a smarty interpreter? I figured functions.php had the interpreter.
There's nothing but science....
The Reggae Album



53
trspice
Trying to use a smarty tag in an IFrame - need help
  • 2007/12/20 8:11

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I have a popup window with a video screen and want to place banner ads on the page using the RW_banner module. The popup is a simple module and is recognized with a smarty switch at the top of theme.html. This allows a different design to show for the popup.
Quote:

<{if $xoops_dirname == "videos"}>
<{include file="default/videos.html"}>
<{else}>
Show the default theme layout coding
<{/if}>


The videos.html file only has the center block and $xoops_contents and is formatted like this
Quote:

<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/center.html"}>
<{/foreach}>
<hr />
<{$xoops_contents}>


This is the module
Quote:

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

<iframe width="400" height="195" frameborder="0" scrolling="none" name="vidadverts" src="videoads.php">
</iframe>
<?php
include(XOOPS_ROOT_PATH."/footer.php");

?>


I want the adbanners to change at 60 sec intervals so I decided on IFrame which would refresh itself using the Meta refresh. I created the file with the banner like this; videoads.php

Quote:

<?php
include("../../mainfile.php");
include("include/functions.php");

echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>";
echo "<html>";
echo "<head>";
echo "<meta http-equiv='refresh' content='60'>";
echo "</head>";
echo "<body>";

echo "<{$adverts}>"; //this is the rw_banner tag

echo "</body>";
echo "</html>";

?>


Everything works fine except the banner smarty tag. I have tried many ways without success. Can anyone suggest the proper way to call the smarty tag
There's nothing but science....
The Reggae Album



54
trspice
Re: problems with RW_BANNER module
  • 2007/12/18 2:22

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Just so you know, links to your admin won't show what you see since it requires authoriztion. I wasn't asking you to post a link but an image snap shot of what you see.

The define error is for modinfo language file shouldn't affect the tabs. I don't know what the xoopssecurity.php error is. Some one more advanced will have to address that.

Sometimes other modules cause global errors. Try un-installing the Myguestbook module -be sure to back up the data for this module before- then test the rw_banner again.
There's nothing but science....
The Reggae Album



55
trspice
Re: problems with RW_BANNER module
  • 2007/12/18 0:40

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Well now I am lost as first you said the tab wasn't showing but now you say "nothing is viewed under the add banner tab". Can you post a screen shot of what you are seeing? What messages do you see from Debug?

If your DB is corrupt then you should run DB repair from PHPMyadmin (assuming you have apache hosting). You can repair just that table. That certainly seems like the likely problem since you said it was working for ahwile.
There's nothing but science....
The Reggae Album



56
trspice
Re: Show Xoops redirect page messages in theme - Xoops-magazine.com
  • 2007/12/18 0:31

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


jimmyx, that solution is nice. Sorta like the Wordpress messages. Thanks
There's nothing but science....
The Reggae Album



57
trspice
Re: problems with RW_BANNER module
  • 2007/12/17 23:55

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Did it ever work after you installed?
Have you done any hacks to the module?
Have you tried using Debug to see what error messages there are?
There's nothing but science....
The Reggae Album



58
trspice
Re: How can I make 'Liaise' interpret HTML for the form introduction?
  • 2007/12/17 23:46

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks hervet, it works perfectly as all your suggestions do. During my search for a solution I cam upon quite a few querries for this fix, including 2 at the brandycoke.com site, and all without a response. I hope many will now find and use this solution.
There's nothing but science....
The Reggae Album



59
trspice
Re: Show Xoops redirect page messages in theme - Xoops-magazine.com
  • 2007/12/17 17:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


So does anyone know how to add a style to the message?

I tried the following but it didn't work;
Quote:

<{php}>
if( ! empty( $_SESSION['redirect_message'] ) ) {
if( empty( $this->_tpl_vars['xoops_lblocks'] ) ) $this->_tpl_vars['xoops_lblocks'] = array() ;
array_unshift( $this->_tpl_vars['xoops_lblocks'] , array( 'title' => 'Message' , 'content' => $_SESSION['<div style='background: #ff0000'> redirect_message </div>'] , 'weight' => 0 ) ) ;
$this->_tpl_vars['xoops_showlblock'] = 1 ;
unset( $_SESSION['redirect_message'] ) ;
}
<{/php}>
There's nothing but science....
The Reggae Album



60
trspice
Re: How can I make 'Liaise' interpret HTML for the form introduction?
  • 2007/12/17 17:23

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Is this something that only the module authors can fix?
There's nothing but science....
The Reggae Album




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 19 »



Login

Who's Online

250 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 250


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