1411
phppp
Re: scrolling forum posts
  • 2004/4/7 19:36

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


yes

There is such a hack

search ...



1412
phppp
Re: Report about the newbb
  • 2004/4/7 14:12

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


ladon, it's impossible so far

You may submit a feature request to the newbb project@dev.xoops



1413
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 19:13

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Mith: for this specific case, print.php only includes mainfile.php and both $tpl and $config not defined

Marcn: I think you have closed your php debug



1414
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 19:10

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


include/common.php

AFTER:
Quote:

// ################# Load Config Settings ##############
$config_handler =& xoops_gethandler('config');
$xoopsConfig =& $config_handler->getConfigsByCat(XOOPS_CONF);


ADD
Quote:

$xoopsConfigFooter =& $config_handler->getConfigsByCat(XOOPS_CONF_METAFOOTER);


USE:
in any file that has "include mainfile.php"
$FOOTER=$xoopsConfigFooter["footer"];



1415
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 18:38

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


I guess you have to fetch $CONFIG OR define $XOOPSTPL by hacking include/common.php

In this case, to fetch config might be simpler



1416
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 18:23

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


where do you put ?



1417
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 18:03

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


the footer is intended to keep as a private variable, I guess.

Now you steal it illegally ...



1418
phppp
Re: Forums
  • 2004/4/6 17:54

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


phpbb hacked for XOOPS exists

phpbb-like newbb is on road, coming ...



1419
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 17:51

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Let's try an illegal action

header.php

$config =& $config_handler->getConfigs($criteria, true);
foreach (array_keys($config) as $i) {

if("footer"==$config[$i]->getVar('conf_name'))
$YourFOOTER = $config[$i]->getConfValueForOutput();



1420
phppp
Re: XoopsConfigMetaFooter['footer']
  • 2004/4/6 17:40

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


If I understand correctly, $xoopsConfigMetaFooter only works for the old way

In the "new" way, you have to fetch the "footer" by yourself.




TopTop
« 1 ... 139 140 141 (142) 143 144 145 ... 148 »



Login

Who's Online

232 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 232


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