41
McDonald
Re: I want "Tag Cloud" please :)
  • 2009/1/18 19:39

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I assume you're using latest version of WF-Links.

Did you enable the setting User can submit Tags in the Preferences?
Select Yes to have the option for entering tags in the Submit form enabled. For the administration section tags are enabled by default.

For News and CBB I think tags can only be entered from the administration, not sure.
For the Tag module to function properly the Frameworks library need to be installed too.



42
McDonald
Re: disable auto linebreak in smartfaq
  • 2009/1/17 17:50

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


$myts->displayTarea($xoopsModuleConfig['indexwelcomemsg'], 1)

This will enable html only.

Try it like this:
$myts->displayTarea($xoopsModuleConfig['indexwelcomemsg'], 11110)

This enables html, smiley, xoopscode and images, and disables linebreaks in $xoopsModuleConfig['indexwelcomemsg'].

Remember:
displayTarea$text$html 1$smiley 1$xcode 1$image 1$br 0)

or in short:
displayTarea$text11110)

$text : string of text to be displayed
1,1,1,1,0 : html=smiley=xoopscode=image=enabled and linebreaks=disabled



43
McDonald
Re: disable auto linebreak in smartfaq
  • 2009/1/15 19:36

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


See the explanation about displayTarea here.
Just open the files of SmartFAQ one-by-one, look for displayTarea and modify it as you want.



44
McDonald
Re: I want "Tag Cloud" please :)
  • 2009/1/13 17:16

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Modules like CBB, Article, News, WF-Links and MyTube that support the Tag module will display an extra field in submit forms where you can enter words that should be added to the Tag module.
Not sure for all modules, but if the Tag module is not installed the field for entering the words won't be visible.



45
McDonald
Re: how to disable the xoops linebreak option in mytube module
  • 2009/1/9 12:58

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Sorry, forgot something...

Also open the file singlevideo.php and find this line:
$video['description2'] = $xtubemyts -> displayTarea$video_arr['description'], 1111);


And replace it with this line:
$video['description2'] = $xtubemyts -> displayTarea$video_arr['description'], 1111);



46
McDonald
Re: how to disable the xoops linebreak option in mytube module
  • 2009/1/9 12:51

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Open the file include/videoloadinfo.php and find this line:
$description $xtubemyts -> displayTarea$video_arr['description'], 1111);

And replace it with this one:
$description $xtubemyts -> displayTarea$video_arr['description'], 1111);


Explanation:
displayTarea$text$html 0$smiley 1$xcode 1$image 1$br 1)

So when you apply the 2nd line from above you have:
- HTML enabled,
- Smiley enabled,
- XOOPS code enabled,
- images enabled and
- linebreaks disabled.



47
McDonald
Re: URGENT Site hacked 2.0.18.2
  • 2008/12/30 15:14

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You might want to check if there are any updates available for some of your modules, because some have known vulnerabilities like these two:
- wordbook 1
- xm-memberstats 2
I am not sure about WF Channel 1.06 but I guess this version contains vulnerabilities.
If you have the Spaw editor installed (standalone or as part of a module) than get rid of it.
You also might consider to upgrade Protector to latest version (recommended!).


.::EDIT::.
You can use this list on Secunia website for known vulnerable modules: http://secunia.com/advisories/search/?search=xoops&sort_by=date



48
McDonald
Re: Permissions in WF-links
  • 2008/12/30 10:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


In admin/category.php find the following:
$sql "UPDATE " $xoopsDB -> prefix'wflinks_cat' ) . " SET title ='$title', imgurl='$imgurl', pid =$pid, description='$descriptionb', spotlighthis='$spotlighthis' , spotlighttop='$spotlighttop', nohtml='$nohtml', nosmiley='$nosmiley', noxcodes='$noxcodes', noimages='$noimages', nobreak='$nobreak', weight='$weight', client_id='$client_id', banner_id='$banner_id' WHERE cid=" $cid;
            
$database_mess _AM_WFL_CCATEGORY_MODIFIED;
        } 
        if ( !
$result $xoopsDB -> query$sql ) ) {
            
XoopsErrorHandler_HandleErrorE_USER_WARNING$sql__FILE____LINE__ );
            return 
false;
        }


After this insert this code:
$module_id $xoopsModule -> getVar('mid');
        
$newcatid mysql_insert_id();
        
$sql2 "INSERT INTO " $xoopsDB -> prefix'group_permission' ) . " (gperm_groupid, gperm_itemid, gperm_modid, gperm_name ) VALUES ('3','$newcatid', '$module_id', 'WFLinkCatPerm')";
        if ( !
$result $xoopsDB -> query$sql2 ) ) {
            
XoopsErrorHandler_HandleErrorE_USER_WARNING$sql2__FILE____LINE__ );
            return 
false;
        }

This will set the category view permission for anonymous users (if group-id = 3).



49
McDonald
Re: Permissions in WF-links
  • 2008/12/29 12:29

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Permissions are not set per link but per category.



50
McDonald
Re: Problem with many modules
  • 2008/12/28 23:38

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You can add the XoopsTree class (class/xoopstree.php) from XOOPS 2.0.18 to Weblinks and rename the file+class.
After this you have to include the class and replace xoopstree with its new name.




TopTop
« 1 2 3 4 (5) 6 7 8 ... 87 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

78 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 78


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits