31
wrtbooks
Re: RSS feed?
  • 2004/1/23 1:12

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Lykos Syndication module has feeds for reviews, downloads and links, but there are some issues with encoding at the moment.Quote:
Lykos Syndication module has feeds for reviews, downloads and links, but there are some issues with encoding at the moment.

check out this thread.. bit of a problem .. :P

https://xoops.org/modules/newbb/viewtopic.php?topic_id=15929&forum=20&post_id=66987#forumpost66987



32
wrtbooks
Re: Check this RSS
  • 2004/1/23 1:00

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
I gotta small problem...I've added this RSS but it doesn't work. When i click on the link it works like a refresh :S


I am trying to get the Lykos Syndication Module to work for the mydownloads.rss the problem is that the links that show up in the .rss just go to the main page and don't specify the actual file.

http://www.sermonindex.net/modules/mydownloads/singlefile.php?lid=

instead of:

http://www.sermonindex.net/modules/mydownloads/singlefile.php?lid=323

the code in the background that is supposed to get this to work is:

Quote:
$temp .= " <link>".XOOPS_URL."/modules/mydownloads/singlefile.php?lid=".$myts->makeTboxData4Show($myrow['did'])."</link>\n";


help



33
wrtbooks
Re: RSS Feed
  • 2004/1/23 0:38

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


I go the // Lykos Syndication Module
// Written by Samuel Wright (http://www.lykoszine.co.uk)

but I want the RSS links to work all of them are just defaulting to:http://www.sermonindex.net/modules/mydownloads/index.php?lid=

and there is no lid=432 # specified.. why is this? is the coding right below? I am using XOOPS 1.3.. thanks.


Quote:
$myts = & MyTextSanitizer::getInstance();
while ( $myrow = $xoopsDB->fetchArray($result) ) {
$temp .= " <item>\n";
$temp .= " <title>".$myts->makeTboxData4Show($myrow['title'])."</title>\n";
$temp .= " <link>".XOOPS_URL."/modules/mydownloads/index.php?lid=".$myts->makeTboxData4Show($myrow['did'])."</link>\n";
$temp .= " </item>\n";



34
wrtbooks
Re: RSS Feed
  • 2004/1/22 23:08

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


I there any RSS feeds for the mydownloads that people can link to to get the most recent downloads or anything else my XOOPS site? I am using version 1.3

www.sermonindex.net

let me know.



35
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2004/1/8 3:09

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
Any other developers of XOOPS 1.x willing to give this a quick look? For me it would take weeks to figure out, but for someone who is very profient in XOOPS it shouldnt be that hard right?

::bump::



36
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2004/1/5 21:58

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
I'm no expert in this area, but there are some steps to take before putting variables in SQL queries - especially GET parameters.

Any other developers of XOOPS 1.x willing to give this a quick look? For me it would take weeks to figure out, but for someone who is very profient in XOOPS it shouldnt be that hard right?



37
wrtbooks
Re: how to add text on a module page?
  • 2004/1/3 23:21

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Just in case you are intrested here is the code I put in the index.php I decided to have an image show above the contact form:

Quote:
} else {
$xoopsOption['show_rblock'] =0;
include(XOOPS_ROOT_PATH."/header.php");
echo "<br /><center><img src='http://www.sermonindex.net/modules/contact/contact.gif'>
</center><br /><br />";
}
OpenTable();
include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php");
$company_v = "";


and here is the contact page to see the results:
http://www.sermonindex.net/modules/contact/

kewl eh! wow it took awhile but I am getting the hang of this.. man opensource rocks.. 2 cheers for xoopy



38
wrtbooks
Re: how to add text on a module page?
  • 2004/1/3 22:53

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
include("header.php");
if ( empty($HTTP_POST_VARS['submit']) ) {
if($xoopsConfig['startpage'] == "contact"){
$xoopsOption['show_rblock'] =1;
include(XOOPS_ROOT_PATH."/header.php");
make_cblock();
echo "<br />";
} else {
$xoopsOption['show_rblock'] =0;
include(XOOPS_ROOT_PATH."/header.php");
echo "<br />put text and html code here";
}
OpenTable();
include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php");
$company_v = "";
$name_v = !empty($xoopsUser) ? $xoopsUser->getVar("uname", "E") : "";
$email_v = !empty($xoopsUser) ? $xoopsUser->getVar("email", "E") : "";
$url_v = !empty($xoopsUser) ? $xoopsUser->getVar("url", "E") : "";
$icq_v = !empty($xoopsUser) ? $xoopsUser->getVar("user_icq", "E") : "";
$location_v = !empty($xoopsUser) ? $xoopsUser->getVar("user_from", "E") : "";

I played with the php code and found if I added an:
echo "<br />put text and html code here";
that it would display the text. I hope this helps someone else.

edit: this is the index.php page for the contact module btw.



39
wrtbooks
Re: how to add text on a module page?
  • 2004/1/3 22:50

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


anybody?



40
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2004/1/3 22:24

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
This method, however, can leave your site very vulnerable

Thank you very much for your input, I was feeling it was a security issue why it was setup like that. I wonder if any XOOPS 1.x users have changed or configured the search.php already?




TopTop
« 1 2 3 (4) 5 6 7 8 »



Login

Who's Online

229 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 229


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