21
Balzac
Re: SmartSection add a field
  • 2011/1/25 9:45

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


If you like smartsection that is ok. But the module Publisher is in fact smartsection but solved some important bugs. See related topic and mamba's words.

I still don't understand why you want to add an extra date field if this field already excistst!
If you create an article the re is a date publishing field in the form!
To show or hide the publishing date on the index page, take a look at the settings. It is a setting to show/hide the date.
Within the article itself the date of publishing is also shown.
So therefore I really don't understand your question. A link to your website and perhaps an example screenprint to show what exactly you want would be more helpfull.

See:
http://www.xuups.com/modules/publisher/
http://www.maltasport.com/modules/intersport/category.php?categoryid=11/ (this a cloned version of publisher)




22
Balzac
Re: SmartSection add a field
  • 2011/1/24 23:48

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Why would you want to add a field which already excists?

Adding an extra field is a lot of work and not that easy. Best is to look at the fields which excists and how they are made within the modulescript.



23
Balzac
Re: External database for registration
  • 2011/1/23 22:10

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Great. Now, share you solution with the community.
Which chat and what solution?



24
Balzac
Re: IF Statement in template
  • 2011/1/22 9:48

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Quote:
Sweet Worked like a charm! Thanks everyone

Which outhanded code did you use and worked like a charm? Would be nice to inform the community.



25
Balzac
Re: IF Statement in template
  • 2011/1/22 1:18

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Below works if the text will be entered with the standard editor within xoops.
The below code is usable within every module when you enter text by standard xoops editor.

Add BBcode [hide]your text hide for guests, but visible for logged registered users[/hide]
Text within hide brackets will only be visible for logged in registered users.

Open: xoops/class/module.textsanitizer.php
Look for line 344
function xoopsCodeDecode$text$allowimage )
     {
         
$patterns = array();
         
$replacements = array();


Replace the above code with
function &xoopsCodeDecode(&$text$allowimage 1)
    {
    
$patterns = array();
    
$replacements = array();
    
$patterns[] = "/[hide](.*)[/hide]/sU";
    if(
$_SESSION['xoopsUserId']) {
    
$replacements[] = '\1';
    }
    else {
    
$replacements[] = '<a href="'.XOOPS_URL.'/register.php"><img src="'.XOOPS_URL.'/images/hidden.gif" alt="only visible for registered users" /></a>';
    }


This is an old trick I grabbed somewhere. Don't know where I got it from but saved it.
Cannot garanteu if this trick still works.
Dont forget to upload a new image hidden.gif in the appropiate dir.
Otherwise mamba's code works very well.



26
Balzac
Re: Suspending User Accounts
  • 2011/1/20 0:24

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Searched for it, cannot find this module. Where is the latest version for download findable?



27
Balzac
Re: Which is the best Article module for xoops?
  • 2010/12/29 9:07

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Depending on how many articles you've got and how you would like to present there are 2 fine other article options.

Content module
Pages module



28
Balzac
Re: Conversation with XOOPS Cube about potential collaboration on X3 development
  • 2010/12/29 9:06

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Any further news on this?



29
Balzac
Re: News Module - Display topics
  • 2010/11/28 15:31

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Not possible unless you adjust the templates, other than the index.html, of the xnews module.
Comment the lines out where it calls that specific code.



30
Balzac
Re: Question = SmartClient
  • 2010/11/23 11:23

  • Balzac

  • Just popping in

  • Posts: 68

  • Since: 2010/1/11


Quote:
Also, is there any way to change it from "Become a client" - to something like: "Add a Parishionier" ?

Change language file of the module.
Search for specific translation and change it.

You mean SmartClienthttp://smartfactory.ca/modules/wfdownloads/singlefile.php?cid=10&lid=17
?

Quote:
Can you please tell me if a name can be submitted to a group by this module?

I.E. If a name Mr. David Adams can be associated or linked to the group Coffee, Sunday School, Vestry Etc.


If you mean usergroup the answer is no.
I think you need, or are looking for somekind of subscription module.
See:https://xoops.org/modules/newbb/viewtopic.php?topic_id=72462&forum=10&post_id=332678#forumpost332678




TopTop
« 1 2 (3) 4 5 »



Login

Who's Online

236 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 236


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