1
wodnick
Re: Clonning the news module
  • 2007/2/12 20:19

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there.

Maybe this is an answer Bulletin 2.04

Best regards,
wodnick :)

ps. U're sure copying news module is necessary?
Most new versions of news modules have category, that You can split to different groups of users (by managing access privileges) and to different news content.
========
Pozycjonowanie



2
wodnick
Re: Protector 3.0
  • 2007/2/8 20:59

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

Quote:

Create a folder somewhere and copy the files from /xoops_trust_path in that.


It's true, but not "somewhere".
Basic idea of XOOPS_TRUST_PATH is described on this page:
http://xoops-tips.com/news-article.storyid-108.htm

"XOOPS_TRUST_PATH was introduced by GIJOE (based on minahito’s idea as GIJOE credited). The idea and/or concept of XOOPS_TRUST_PATH is to secure a XOOPS module by moving all of the module’s PHP files out of web root or DOCUMENT_ROOT.

In doing so, modules could not be easily tempered by potential crackers, especially if the module has private files included under the document root."

[...]

"To use XOOPS_TRUST_PATH, you must edit mainfile.php to add a constant defining XOOPS_TRUST_PATH location.

The location should be out of your document root to take advantage of the secure feature.

If your XOOPS web root is
/home/yourname/public_html

Then you should create a directory under /home/yourname, parallel to public_html (NOT UNDER it, otherwise it will defeat the whole security purpose of moving files out of the web root)."

Best regards,
wodnick
========
Pozycjonowanie



3
wodnick
Re: Module like Yellow Pages
  • 2007/2/6 19:30

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

Any suggestions, please?

Which one is most sophisticated, have best support or programmers, is easy and flexible to made own changes?

Thank You in advance (for any, even little hint :).

best regards,
wodnick
========
Pozycjonowanie



4
wodnick
Re: blocks problem...if i hide a block for "registered" it changes also for "unregistered" and vicev
  • 2007/2/4 20:49

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there.

Try to manage this by groups, not from the blocks side.

Admin -> Groups -> Registered Users -> Block section -> Untick block You want to hide
Admin -> Groups -> Anonymous -> Block section -> Tick block You want to show
(or vice versa).

regards,
wodnick
========
Pozycjonowanie



5
wodnick
Module like Yellow Pages
  • 2007/2/3 18:08

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

To my client I have to made web page with one of the section with simple engine to manage companies:
- registering with email confirmation;
- detailed visit cards for each company (address, phone, fax, WWW, and so on);
- additional informations about company (detailed activity, branches, rewards, reference list, and more but maybe in one text block);
- logo, maybe some pictures;
- all above should by inserted and managed by registered companies itself.

Companies should be arranged in branches and sub branches with at least two levels depth.

I found few modules, but I'm not quite sure which one is best for me:
- MX Directory;
- EFQ Directory;
- Xdirectory
- catads;
- mylinks/weblinks (many version, some were much modified);

Many thanks for advise.

regards,
wodnick

ps. I know... my english... heh ;)
========
Pozycjonowanie



6
wodnick
Re: Is there a TOP PAGE smarty identifier?
  • 2007/2/3 17:09

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

Try to examine $xoops_dirname - "is globally available in themes and holds the directory name of the currently selected module".

Something like this:
<{if $xoops_dirname==''}>Do this<{/if}>


regards,
wodnick
========
Pozycjonowanie



7
wodnick
Re: System Preference Pages Not Showing Correctly
  • 2007/2/3 9:29

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

Quote:

Currently, I checked /language/ & /modules/system/language/ and they are no missing files.


But (almost) all modules have their own translation folders /modules/modulename/language/polish b.e.

If there is no proper folder or folder is empty, but different (non english) language is set - You can see empty strings inside admin section.

To avoid this, if there is no translation for certain module - simple duplicate /modules/modulename/language/english folder and rename it to desired one, b.e. polish (content of course still be in english :)

regards,
wodnick
========
Pozycjonowanie



8
wodnick
Re: Simple tinyd SEO trick
  • 2007/2/2 18:44

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there.

Little addendum.
When setting metatags in both: Module preferences -> Common HTML headers and HTML header for each article, they appear twice (this may be treat as a spam by indexing machines).

But different metatags for all pages and no one page without meta... it's a dream of all SEO engineers.
So, there is a simple trick to avoid doubling meta.

tinydx/include/display.inc.php line 159

Change:
$xoopsTpl->assign'xoops_module_header' $xoopsModuleConfig['tc_common_htmlheader'] . "n" $html_header "n" $xoopsTpl->get_template_vars"xoops_module_header" ) ) ;

to:
$xoopsTpl->assign'xoops_module_header' , ($html_header?"":$xoopsModuleConfig['tc_common_htmlheader']) . "n" $html_header "n" $xoopsTpl->get_template_vars"xoops_module_header" ) ) ;


From now, all pages that have their own meta definitions will display them, and also these without, not lose metas, because tinyd modules main meta definitions.

Unfortunately You have to made this change on all tinyd instances installed, but best way is simple copy one changed file to all /tinydx/include folders (I assume that all have the same content).

Best regards,
wodnick

ps. I know... my english, heh ;)
========
Pozycjonowanie



9
wodnick
Re: System Preference Pages Not Showing Correctly
  • 2007/2/2 17:20

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there.

It look like language files are missing or language was set to incomplete (not all translated) package.

Try to set english and make sure, that all language specific folders are on right places before switching back.

best regards,
wodnick
========
Pozycjonowanie



10
wodnick
Re: To modify mainfile for several domains
  • 2007/1/25 20:55

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

I'm not quite sure what U want to achieve, but if changing this definition "on the fly" - this can by made by code like this:

#39 : define('XOOPS_URL', 'http://www.dominioXXX1.com');

change to:

if($_SERVER['SERVER_NAME']=="www.dominioXXX1.com")
{
define('XOOPS_URL', 'http://www.dominioXXX1.com');
}
else
{
define('XOOPS_URL', 'http://www.dominioXXX2.com');
}

In this case, http://www.dominioXXX2.com is default value.

Hope this help U.

regards,
wodnick
========
Pozycjonowanie




TopTop
(1) 2 3 4 »



Login

Who's Online

135 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 135


more...

Donat-O-Meter

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

Latest GitHub Commits