1321
trabis
Re: Ajax autocompletion feeded with isearch module
  • 2008/11/1 23:54

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I have updated mysearch module:

Added 2.3.x and 2.2.x compatibilty,
Fixed the ajax block that was not working in the results page and some other minor things.

Can be downloaded mysearch 1.1 at the usual place:
http://code.google.com/p/xuups/




1322
trabis
Re: Ajax autocompletion feeded with isearch module
  • 2008/11/1 21:24

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Good Job, your site is amazing!

Well, in my Mpmanager line 51(include/search.inc.php) is

$sql = "SELECT msg_id, subject, from_userid, to_userid, msg_time, msg_text FROM ".$xoopsDB->prefix("priv_msgs")." WHERE (to_userid = ".$xoopsUser->getVar('uid').") ";

$xoopsUser is not a object if you are a anonym user so:

this lines are not very useful:

$gperm_handler =& xoops_gethandler('groupperm');
if (is_object($xoopsUser)) {
$groups = $xoopsUser->getGroups();
} else {
$groups = XOOPS_GROUP_ANONYMOUS;
}

You can change this to:
if (!is_object($xoopsUser)) { return false;}





1323
trabis
Re: Ajax autocompletion feeded with isearch module
  • 2008/11/1 20:34

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


The line you provided does not match the error you get.

The problem line should be something like

$nonobject->memberfuntion();

What is the MP version you are using?
Does the problem happens in userinfo.php (show recent posts) or in XOOPS search.php?

Thanks.



1324
trabis
Re: problems with content and mycontent
  • 2008/10/29 0:14

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


in edit file (admin area) <? should be turn to <?php
Also admin editing allows you to place a page inside itself.
This is causing an endless loop in index.php in a callback function making the server crash.
In addition I found a possible sql injection exploit in index.php and a lot of debug errors.

This module appears to be very good(if working).
Is anyone taking the development of the module?



1325
trabis
Re: Defacer 1.0 alpha is released for feature requests
  • 2008/10/27 23:36

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Basically this module will bring some page awareness into xoops.
If you want to block access to admin userinfo you can do it.
If some module has poor control of page access permissions you can use defacer to bring some.
If you are a theme designer you can create demo pages for your themes. You can for example create an article about your theme and have that theme aplied on that paged!
Meta data, Sitename, Pagetitle, Slogan can also be set per page/module giving a better control on how your pages display on search engines.

This are the included features on this alpha version but if you can think on anything else that could benefit from this page awareness let me know.



1326
trabis
Defacer 1.0 alpha is released for feature requests
  • 2008/10/27 22:10

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


What is Defacer Module (v1.0 alpha) ?
======================

With this XOOPS module, your can change themes, metadata

and permissions for any given page.




Requirements
====================

Works in XOOPS 2.3.x, XOOPS 2.0.18,

Others cms versions were not tested.

Tested with php5 and php4.




How to install Defacer
====================

Copy defacer folder into the /modules directory of your

website.
Then log in to your site as administrator, go to System

Admin > Modules, look for the defacer
icon in the list of uninstalled modules and click in the install icon.
Follow the directions in the screen.


ATENTION, You have to add a line in header.php and

footer.php at the root of your instalation

In yoursite/header.php paste the line

@include_once XOOPS_ROOT_PATH .

'/modules/defacer/include/beforeheader.php';

right after

defined("XOOPS_ROOT_PATH") or die( 'XOOPS root path not

defined' );

In yoursite/footer.php paste the line

@include_once XOOPS_ROOT_PATH .

'/modules/defacer/include/beforefooter.php';

right after

defined("XOOPS_ROOT_PATH") or die( 'XOOPS root path not

defined' );




Tips
=======
When creating pages you can use '*' symbol in the url field

to match any url.

You should use relative paths
If you select news module your path will be related to

yoursite/module/news/
You should add for example
index.php and not modules/news/index.php

System module is relative to root
You can select system module and enter this url to cover

all userinfo pages:
userinfo.php*



Limitations
========

The block for change themes is deactivated when using

Defacer. I will have to get a work around that.



---------------------

Download it athttp://code.google.com/p/xuups/downloads/list



1327
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/10/25 12:28

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


If you are looking for an example of nested mytabs block you can look athttp://www.worldartfriends.com/

At the bottom of the page there is a mytabs block. Please click on 'tops' section. This section uses just on block and all that is done is settings changes. It shows stats for 5 different modules and you can browse them by day, week, month or overall. Programing just one block and integrate it with mytabs has save me the time of making a module with several pages.

If you found other original ways of using mytabs please share it here.Thanks!



1328
trabis
Re: How can I show the Avatar in another Module??
  • 2008/10/23 22:16

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Ahah, come on, stop editing your post. If someone comes over here they will think I´m crazy!

Sure I am.



1329
trabis
Re: How can I show the Avatar in another Module??
  • 2008/10/23 22:15

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Before you edit your post there were image tags inside. Jut put them back again. Something like <img src='<{user_avatar}>' alt=''/>

Right?



1330
trabis
Re: XOOPS 2.3: WF-Links & MyTube compatibility
  • 2008/10/23 21:25

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Comparing xoopstree.php with the old one I do not see backward incompatibilities. You only get the deprecated message, nothing else.

WF-links was tested and it is working with no problems in 2.3




TopTop
« 1 ... 130 131 132 (133) 134 135 136 ... 190 »



Login

Who's Online

67 user(s) are online (49 user(s) are browsing Support Forums)


Members: 0


Guests: 67


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