71
jayjay
Re: Xoopspoll hack: view results in block (Was: Re: poll force view)
  • 2004/11/5 7:52

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everybody!

Due to an update of my site to XOOPS version 2.0.7, some mod_rewrite tricks don't work anymore :-/ Hope the issue gets fixed soon...

In the meanwhile you can download my xoopspoll hack from this url:
http://www.sint-niklaas.be/modules/wfdownloads/singlefile.php?cid=18&lid=22



72
jayjay
Poll hack: show poll results in a block on start page
  • 2004/7/28 9:16

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everyone!

Some time ago Kubaz hacked the xoopspoll module so that the poll results (instead of the poll questions) would show if anyone had already voted on a poll.

I added a new block to his hack. The block allows you to directly show the poll results. This means you can show the results of your polls at your start page from now on

Download xoopspoll hack

An example can be seen on my site or at the bottom of this post:
http://www.sint-niklaas.be

Starting from Kubaz' hack, I changed these files:

xoops_version.php:
- made new entries under "blocks"

blocks/xoopspoll.php:
- made new b_xoopspoll_results() function
- sprintf hack for better display percentages

language/english/modinfo.php:
- new entry for results block name

Resized Image



73
jayjay
Xoopspoll hack: view results in block (Was: Re: poll force view)
  • 2004/7/27 8:27

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everybody!

I hacked Kubaz' hack of the xoopspoll module

Now you can show poll results in a block, so you can display them directly on your homepage.

Download the hacked xoopspoll file

An example can be seen here (only this week) or at the bottom of this post:
http://www.sint-niklaas.be

Starting from Kubaz' hack, I changed these files:

xoops_version.php:
- made new entries under "blocks"

blocks/xoopspoll.php:
- made new b_xoopspoll_results() function
- sprintf hack for better display percentages

language/english/modinfo.php:
- new entry for results block name

Resized Image



74
jayjay
Re: Groups rights search hack incomplete
  • 2004/7/16 19:03

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Great to hear that! Hope someone finds a fix soon!



75
jayjay
Groups rights search hack incomplete
  • 2004/7/16 8:25

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everybody!

Since XOOPS 2.0.7, marcan's wonderful group rights hack has been implemented for the search page. This means that modules that are not open to some users can't be searched by those users anymore.

Still one little thing remeans: at the bottom of the search page you find the search form. There you see checkboxes for different modules. XOOPS always shows all modules that have a search function. Is it possible to restrict this to the groups users have rights to?

The file with the search form is searchform.php.

Here's an example:
http://www.sint-niklaas.be/search.php

In the list you see "Blog", although anonymous users don't have rights to this module.

Ciao

Jay Jay



76
jayjay
Re: how to list categories in search
  • 2004/7/8 12:26

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi to all xdirectory fans!

I found a very easy fix to the search problem in xdirectory. Builderb mentions that with the 'new' search code you can only view the category names and not the name of the business when you search the module.

This trick fixes the problem:

In include/search.inc.php on line 36 move the "c.title" part to the beginning of the sql string (just after the word SELECT that is).

Now you'll see the name of the business instead of the name of the category in search.

Thanks for a wonderful module, builderb!

Greets

Jay Jay



77
jayjay
Re: Is Xoops section 508 compliant?
  • 2004/6/23 7:24

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everybody!

Nice to see someone thinking of web accessibility for sight-impaired people! We tried this on our sitehttp://www.sint-niklaas.be but admittedly we still have some work to do.

To check if your site is section 508 compliant, just use Webaim's WAVE:
http://www.wave.webaim.org/

They even have a toolbar and a bookmarklet so you can check any page any time you want!

Greets

Jay Jay



78
jayjay
Re: Advanced Search
  • 2004/6/12 8:44

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi,

You don't have to wait for XOOPS 2.0.7. You can use marcans search hack:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=18784&forum=4

Works beautifully



79
jayjay
Re: title hack for wfchannel
  • 2004/5/11 7:23

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi WarDick,

Thanks for the tip! I'll give it a try soon. In the meantime has anyone got the title hack running for wfchannel?

Greets

Jay Jay



80
jayjay
title hack for wfchannel
  • 2004/5/10 14:02

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everybody!

I'm trying to get the title hack to work in wfchannel, but to no success (yet). Has anyone got this working yet?

I tried to edit the index.php file in the module root directory. I'm trying to display the "pagetitle" record which can be found in the xoops_wfschannel table:

I added this around line 29:
list($pagetitle)=$xoopsDB->fetchRow($pagedetails);


and this around line 282:
$xoopsTpl->assign('xoops_pagetitle'$myts->makeTboxData4Show($pagetitle));


Any help would be welcome

Info on title hack:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=17666&forum=10

http://www.xoopsfr-forum.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=3822&forum=14

Greets!

Jay Jay




TopTop
« 1 ... 5 6 7 (8) 9 10 11 12 »



Login

Who's Online

133 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 133


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