141
tzvook
Re: Plan on how to merge 2.2 and 2.0
  • 2008/7/27 14:24

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2



The smile on my face is much much much wider
Thanks !!! you made my day !!!!!!!

( I tried replacing $xoTheme->addScript with $xTheme->addScript .... stupid me )



142
tzvook
Re: Plan on how to merge 2.2 and 2.0
  • 2008/7/27 12:50

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


@ wizanda
I understand that you made Yogurt function with the 2.2.x series.
I had a few fights with the $xotheme staff, and had no success .... can you post the hack please ? I have 4 2.2.x sites which I can't upgrade to 2.3 and Yogurt will be a great addition.



143
tzvook
Re: inTHEtube - Spice your web - version 9.0.1
  • 2008/6/23 21:00

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Quote:

lapsa2000 wrote:
.... there is no css file .... you can help me?


Yep, you are right , the css staff is in the begining of /modules/inthetube/templates/inthetube.html



144
tzvook
Re: inTHEtube - Spice your web - version 9.0.1
  • 2008/6/23 18:23

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Sorry for the lake of support ... my time is very limited these days due to highly demand big projects

@ lapsa2000
look for the CSS parts of the module and try to add z-index - it will raise the layer up or down as you need.
I wrote something about it in the Forum .... try to search ...



145
tzvook
Re: My server gets overloaded
  • 2008/6/6 16:04

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


@ ozp11
Try to turn on MySQL debug, go to the Mylinks module (user side) - If you have more then a few categories , you might find out that it's a mysql-query-bomb - you can use the new weblinks module instead - it can also convert the MyLinks data for you.
(MyLinks or the ols Weblinks modules are doubling your category number in the queries they pull in each block or data request - I had about 500 categories and about 1000 queries in the module or each page with module block).
Harden your module-cache and blocks-cache preferences. - it will take a lot of disk space - but will save a lot of cpu.

Ask the data center ppls to make a system-file-check - Linux or windows - if there are issues - it slows your server



146
tzvook
Re: relative & absolute
  • 2008/5/15 7:13

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Quote:

rossymole wrote:
Hello,

I want to say I think that TinyEditor is great! Thank you and great work, I love it and it works great!

The issue I am having is I am using it in the Mail Users function of the admin section and it forces relative URLs through-out the site which is fine (good even) but in mail users it can't be there (the images in the email won't show up). The setting in the "Mod Conf Options", doesn't seem to work.

I looked on the tinyeditor site and can configure the tiny_mce_src.js (then rename it as; I don't have an editor that can edit the tiny_mce.js file directly) but it doesn't flow through in the module.

Like this:

relative_urls : false,
remove_script_host : false,
document_base_url : "http://www.site.com/path1/"

Any thoughts?

Thank You,


I had the same issue (want to use it for sending mail)
and for more then a week I did not get the right place to change it in the code ...

============== // Edit // ================
Found it:

open /tinyeditor/editor/tiny_mce.js (it's one big line - so I can't give a line no. .... but it's more or less in the begining of the file)

change

("remove_script_host",true)


to

("remove_script_host",true)


I hope FrankBlack would some day come back to XOOPS and will refresh this amazing module (for me it's one of the reasons for using XOOPS so much)

Hope someone will benefit this solution for the anoing URL bug



147
tzvook
Re: sub-domains for modules
  • 2008/5/14 3:26

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I know about the links , but I'll really use xoops's abilities just in the main www domain, the subs will have just one module for each ... with no need for any XOOPS theme/user interation/system-wide-link , etc' ...
so the links issue is not buthering me too much ... just the fact that I get "module don't exist" and how to solve it with no security hazards...

So a "bit hacked" JIJOE solution might fit here ...
He turned www.your-domain/modules/_whatever-/
into www.your-domain/md/_whatever-/ ... perfectly.

I need it to be:
www.your-domain/modules/_whatever-/ ==> _whatever-.your-domain/

I can build or (hack existing) mini CMS for my needs, but I thought it would be nicer with XOOPS (for the back-office + the main domain)

anyway, my time is getting short, so I need to start working (planning) this mini-cms ....



148
tzvook
Re: sub-domains for modules
  • 2008/5/13 20:06

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


A few more thoughts:

1. It's quite interesting issue since it'll be a solution for modules<->subdomains for apache.

2. XOOPS is not just telling me that the "module don't exist" , but also logs me out in the sub domain (I was loged in in the main domain)

3. there is probably a simple solution with mod_rewrite without changing the mainfile code

4. I once saw it done with XOOPS (module in subdomain), but I don't remember the place nor the code

5. I kinda tired of all this (almost a week with no solution) ... I think I'll look for another solution (not XOOPS based)



149
tzvook
Re: sub-domains for modules
  • 2008/5/13 19:49

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Quote:

peterr wrote:

Some possible mainfile.php changes ..

if $_SERVER["HTTP_HOST"] == sub.domain.com {
    
define('XOOPS_ROOT_PATH''/home/username/public_html/modules/sub');
    
define('XOOPS_URL''http://sub.domain.com');

} else {
    
define('XOOPS_ROOT_PATH''/home/username/public_html');
    
define('XOOPS_URL''http://domain.com');
}


but, no doubt you have already tried that, or there are other implications ??


10X peterr
This can't be done since I am generating subdomains automatically with this "mod_rewrite" rules:
Options +FollowSymLinks
rewriteEngine on
# Internally rewrite <subdomain>.mydomain.com/<URLpath> to inthetube.info/subs/<subdomain>/<URLpath>
rewriteCond $!^modules/
rewriteCond %{HTTP_HOST} !^www.mydomain.com
rewriteCond 
%{HTTP_HOST} ^([^.]+).mydomain.com
rewriteRule 
(.*) /modules/%1/$

rewriteCond 
%{THE_REQUEST} ^[A-Z]{3,9} /modules/
rewriteRule ^modules/([^/]+)/(.*)$ http://$1.mydomain.com/$1 [R=301,L]


I do that in the httpd.conf (not .htaccess), and it automatically leads sub-domain.mydomain.com to mydomain.com/modules/sub-domain

What you suggested will make the sub-domain into the XOOPS root

I'm trying to make JIJOE's code fit my needs, but for now with no sucsess
// modules changer (insert this 8 lines)
    
if( ! function_exists'modules_changer' ) ) {
        
$_SERVER['REQUEST_URI'] = str_replace'bridge.mydomain.com' 'www.mydomain.com/modules/bridge' , @$_SERVER['REQUEST_URI'] ) ;
        
$_SERVER['HTTP_REFERER'] = str_replace'bridge.mydomain.com' 'www.mydomain.com/modules/bridge' , @$_SERVER['HTTP_REFERER'] ) ;
        function 
modules_changer$s ) {
            return 
str_replace'www.mydomain.com/modules/bridge' 'bridge.mydomain.com' $s ) ;
        }
        
ob_start'modules_changer' ) ;
    }


@ the begining of mainfile.php



150
tzvook
Re: job listing module.
  • 2008/5/10 7:47

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


There's one directory solution that also might fit to your needs - it's not jobs-specific, but has custom fields ability
It is called EFQ directry by Wtravel.
search the module for the link to his site.




TopTop
« 1 ... 12 13 14 (15) 16 17 18 ... 60 »



Login

Who's Online

182 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 182


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