961
zyspec
Re: Please help
  • 2006/2/27 20:32

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


For you to login just go tohttp://www.yoursite.com/user.php



962
zyspec
Re: I search announcements module
  • 2006/2/27 15:31

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I'd recommend you look at the CatAds module or maybe even just one of the blog modules that would allow a freeform "announcement". The CatAds module is good for selling items but wouldn't necessarily be good for announcing an upcoming event. You could allow this with one of the multi-user blogs.

Another option would be to combine modules and give your users rights to create items. For example using CatAds with a calendar module (say PiCal or eXtCal). You could then show the newest events on your top page - so they look like announcments.



963
zyspec
Re: Translation issue...where to start if i want to translate? very confusing
  • 2006/2/27 2:22

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


The best place to start is with your "local" support site. There is an Arabic Xoops support site where you can find translations for several modules. I believe Arabic requires that you use the XLanguage plugin.



964
zyspec
Re: Simple Open Page
  • 2006/2/25 23:38

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


The easiest way to create what you want is to use the mypage module. It has simple instructions to walk you through configuring the module (there's 2 files to edit).



965
zyspec
Re: Display period in TinyEvents
  • 2006/2/24 23:07

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


If all you want is the Next Events block to show events for the next week you can do the following;

Just after line 40 in /blocks/te_nextevents.php from:

$start = mktime (0,0,0,date("m") ,date("d") ,date("Y"));

add:

$end = strtotime("+1 week");

Then comment out line 42 by placing 2 '/' at the beginning of the line like this:

// $result = $xoopsDB->queryF("SELECT id, date, date2, event FROM ".$xoopsDB->prefix()."_tinyevent WHERE pub='1' AND (date >= '$start') ORDER BY date limit 0, $numEvents");

and add this on the next line:

$result = $xoopsDB->queryF("SELECT id, date, date2, event FROM ".$xoopsDB->prefix()."_tinyevent WHERE pub='1' AND (date >= '$start') AND (date <= '$end') ORDER BY date limit 0, $numEvents");


This will give you all the events for the next week up to the maximum you have selected in the Admin Panel.



966
zyspec
Re: Hit Counter
  • 2006/2/24 17:09

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I don't recall seeing a simple counter module anywhere.

What most people that just want a page load counter have done is to just put a script into a custom block. There's several GPL scripts available that will create a counter that will display the number of times the page (or block in this case) has been loaded.



967
zyspec
Re: Positioning Log In Form
  • 2006/2/23 22:26

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Yes, the login box does "disappear" when you login since there's no value in having it displayed once your users are logged in and so XOOPS displays the account view/edit menu items instead.



968
zyspec
Re: Making xyp4All Searchable?
  • 2006/2/23 22:19

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Okay, upon further review of the search function in xyp4all (ver 1.58) there's a couple of bugs that causes unexpected behavior and then there's some "logic" which causes the display of the search to only show the title of the category the item is in, instead of showing the item title.

Currently the search only attempts to search the Contact Name, the Category and the Description fields.

With some work it could be made to search more fields and by modifying the SQL statements actually show the Contact Name instead of just the Category when it does find a match.

One "easy" bug to fix to improve the search results is change line 45 from:
$sql .= "(l.title LIKE '%$queryarray[$i]%' OR c.title LIKE '%$queryarray[0]%' OR t.description LIKE '%$queryarray[$i]%')";

to:
$sql .= "(l.title LIKE '%$queryarray[$i]%' OR c.title LIKE '%$queryarray[i]%' OR t.description LIKE '%$queryarray[$i]%')";



969
zyspec
Re: Positioning Log In Form
  • 2006/2/23 17:52

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You need to clone the system templates first. After you clone the templates then you can edit the cloned template and your changes should take effect.

Here are the steps required:

1. Go to system admin and select 'Templates' under System Admin.
2. clone the templates (right hand side of table)
3. edit the cloned template set with your changes.
4. go back to Preferences under System Admin and then select 'General Settings'
5. Set the 'Default template set' setting to your newly created template by selecting it in the dropdown box.
6. I'd recommend clearing your /template_c directory

Your changes should take effect.



970
zyspec
Re: Smarty code guide?
  • 2006/2/23 14:17

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


The most comprehensive XOOPS specific information can be found here.




TopTop
« 1 ... 94 95 96 (97) 98 99 100 »



Login

Who's Online

172 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 172


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