291561
shagreel
Removing the intermediate flash screen
  • 2003/9/30 20:19

  • shagreel

  • Just popping in

  • Posts: 13

  • Since: 2003/1/17


I must say that I dislike having the short little screen tell me that I do not have permission to view a page and then redirect later. I have a suggestion that I have implemented.

Set up a new config variable called show_redirect_flash or something so that people can choose what way to be redirected.

In the xoops_redirect function in the functions.php file add:

if($xoopsConfig['show_redirect_flash']){
//normal xoops_redirect functionality
}else{
$url = preg_replace("/&/i", '&', htmlspecialchars($url, ENT_QUOTES));
setcookie ("XoopsRedirectCookie", $message, 0, "/");
header("Location: $url");
exit();
}

Then in header.php (maybe this should be somewhere else, but I am not sure where else to put it yet) add:

if $_COOKIE['XoopsRedirectCookie']){
$xoopsTpl->assign('xoops_redirect_message', $_COOKIE['XoopsRedirectCookie']);
setcookie ("XoopsRedirectCookie", "", 0, "/");
}

Then in the main template you can display the xoops_redirect_message anywhere/anyway you want to so that people are still alerted to the fact that something went wrong. This allows me to report all kinds of debug information that people may/may not want to see (ie. file not found).



291562
ackbarr
Re: Word Censoring and Bytes in Downloads

I've never run across either of these two bugs are you running 2.0.5?

Word Censoring: Try removing any blank spaces, enter keys, etc from the Filter list.



291563
KubaZ
Re: Converting eFiction standalone script into a Xoops module
  • 2003/9/30 19:36

  • KubaZ

  • Just popping in

  • Posts: 37

  • Since: 2002/10/9


Hi,

I've started modularizing this script for XOOPS (2.0.2)
but it take a little.. because I will put firstly on XMDT (xoops modules development team) ) and then... maybe it will be ready...

this script is written very well and cleanly.. so (after 1 hour I made admin section)..

please put infos about modules on XMDT web page...

greetz & baCio!!!
kubaz



291564
Catzwolf
Re: wf-section & agenda-x in waiting content block
  • 2003/9/30 17:25

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


This is the code that will allow you to have wf-sections in the waiting content block


if ($module_handler->getCount(new Criteria('dirname', 'wfsection'))) {
$result = $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("wfs_article")." WHERE published=0");
if ( $result ) {
$block['modules'][8]['adminlink'] = XOOPS_URL."/modules/wfsection/admin/allarticles.php?action=submitted";
list($block['modules'][8]['pendingnum']) = $xoopsDB->fetchRow($result);
$block['modules'][8]['lang_linkname'] = _MB_SYSTEM_SUBWFS;
}
}
if ($module_handler->getCount(new Criteria('dirname', 'wfsection'))) {
$result = $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("wfs_files")." WHERE submit=0");
if ( $result ) {
$block['modules'][9]['adminlink'] = XOOPS_URL."/modules/wfsection/admin/allarticles.php?action=submitted";
list($block['modules'][9]['pendingnum']) = $xoopsDB->fetchRow($result);
$block['modules'][9]['lang_linkname'] = _MB_SYSTEM_WFDLS;
}
}

ATB

Catz



291565
tiago16
Word Censoring and Bytes in Downloads
  • 2003/9/30 16:56

  • tiago16

  • Just popping in

  • Posts: 2

  • Since: 2003/9/23


Two bugs i've found, not searched if they are reported...sorry

1st - From one moment to another every article i posted and each user that registered had *** before each word it was only solved by deactivating the Word Censoring

2nd - Each time i submit a download through the admin panel i have to submit it and then re-edit it because it won't save the size of the file

its all for now...



291566
setaside
Re: wf-section & agenda-x in waiting content block
  • 2003/9/30 16:15

  • setaside

  • Just popping in

  • Posts: 28

  • Since: 2002/9/24


bump



291567
YorHelp2
Re: preview bug in 2.0.5
  • 2003/9/30 12:35

  • YorHelp2

  • Just popping in

  • Posts: 4

  • Since: 2003/7/22


BIG BUG In XOOPS ->> YourHelp.
Trying to get his name on the top Posters List



291568
Shine
Converting eFiction standalone script into a Xoops module
  • 2003/9/30 10:57

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


I know there is a storyline module, but lately I've bumped into a wonderfull 'storyline' script called: eFiction.
It has more and better features and if you'd ask me, it would be a great module addon within the current Xoops.

At the moment it is a standalone script and I was hoping if there is somebody who is capable and offcourse willing to convert this lovely script for module use within XOOPS 2.x
Unfortunately my programming skills and knowledge aren't enough to get this job done. I don't even know if conversion would be possible!

To see the script in action:http://www.rivkashome.com/fanfiction/index.php

Download at:http://prdownloads.sourceforge.net/orodruin/eFiction1.1.zip?download

Grtz., Shine



291569
Herko
Re: preview bug in 2.0.5
  • 2003/9/30 9:31

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


YH, posting bugs is this forum's main purpose... please do not comment on every bug post that it's not final and that they have to wait for the final version.

Herko



291570
YourHelp
Re: preview bug in 2.0.5
  • 2003/9/30 9:28

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


like i was saying in a previous post .. this is not the FINAL Release version it's a test version to my knowledge so there is bound to be error's... Soon as i get my version going ill check and see if i got the same prob.

YH







Login

Who's Online

123 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 123


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