272371
Brad
Re: ShortURLs hack
  • 2004/2/14 19:28

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Just to be clear, for this hack to work, it requires Apache to be compiled with the RewriteEngine module.

How would one go about determining if their hosted site has Apache compiled with the RewriteEngine module, short of asking the hosting service themselves?



272372
sunsnapper
Re: Theme headerlogo and nav

OK, well if you need help, I can edit the source and put things in the right place. But, is sounds like you are looking forward to gaining the experience of doing it yourself... that's great. Don't worry, it's not really that hard.

There is this info. in the Wiki (but, the Wiki seems slow today)
http://wiki.xoops.org/wakka.php?wakka=XoopsThemesDoc

Basically, take a look at your theme source on your current entry page. You have the code that creates you banner at the top... then some content in the middle... and then a last remaining stripe at the bottom.

I think the first thing I would do is strip the content out of what you have so that what remains is a working page that consists only of the header and the "Thank You" stripe at the bottom.

Once you have done that, you can insert the code for XOOPS left, center, and right columns where your content used to be. This file will be called theme.html and will be the basis for your theme.

One way to start is to take an existing theme (found in the themes directory) and copy it into a new folder with a name of your choosing. Put the images (and flash file if you like) into this new folder as well. Then put your new theme.html file into the folder.

You are basically done at that point... of course, you need to make sure that the links in your theme.html file are pointing to your new folder name instead of the folder name from the theme you copied. No need to change the css files unless you are trying to change a color or something.

I hope that gets you started. Folks are around to answer questions if you get stuck.



272373
Brad
Re: EMERGENCY: security hole of Agenda-X
  • 2004/2/14 19:24

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
If you get "RegisterGlobalsOn" written on the screen, it is on

And when you perform this test and see that it is on, how do you go about turning them off when you're not hosting your own site?

Consider that I know very little about PHP, and thus Register Globals.



272374
DobePhat
Re: FreeContent Webdigest v.3.0 Final
  • 2004/2/14 19:04

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Ah,
Well according to some research Ive just done...
Ive concluded that just because you installed PHP 4.0 and higher it does not mean that CuRL is enabled.

While by default it is present...
There are some small but necassary steps to take to enable it. SO, Im guessing thats wht my problem is.

Will be talking with my web hoster soon....
for those who would like to read more about Curl try this....
Information
about Curl(cURL) and PHP

Anyways hope that helps anyone experienceing the same probs...Im gonna work on it and see if thats the case...



272375
DobePhat
Re: FreeContent Webdigest v.3.0 Final
  • 2004/2/14 18:05

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Hmmm, thanks for the reply,
close but no cigar...

I know by default the curl library is installed...is it possible My host has it disabled?

I cant geet any of them to work

But they worked on your site wonderfully...



272376
TooBaked
Re: Theme headerlogo and nav
  • 2004/2/14 17:51

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


Im trying not to have someone do the work for me but yes I would like my XOOPS sites to look like the Entry Page www.stradegyonline.net I have Created for my Domain.I basically just made a table on entry page and added some info. I would like to use everything but that table in the XOOPS theme for my destination sites(subdomain).

you should be able to see the Raw Source Code from View Source.

Thanks






272377
kahumbu
Re: Blocks in center-left and center-right
  • 2004/2/14 17:31

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Just to add, it is also important to consider the position of the module content after the blocks have been moved. As default, content is below all the blocks. If you have center blocks in newbb, they will appear on top of the forums.

The content is identified by this short piece of code:
<div id="content">
    <{
$xoops_contents}>
</
div>



272378
wjue
Re: FreeContent Webdigest v.3.0 Final
  • 2004/2/14 17:26

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


Sorry, I just noticed your post.

The message says: "Either CURL extension is not installed in your PHP system or the returning data is empty FreeContent needs CURL library functions to be operating"

If Curl is installed, that would mean the returning data is empty. I set a 15 seconds Timeout for Curl to retrieve a webpage, if you have a slow line, this could not be sufficient, try to slightly increase that value by editing the wenli.class.php file line 374:

curl_setopt($ch, CURLOPT_TIMEOUT, 15); // times out after 15s

for exemple 25

wjue


Quote:

DobePhat wrote:
How about this "Curl" issue?

It's installed as an extension yet the mod still says I don't have it installed?




272379
script_fu
Re: ShortURLs hack

Hi Reynaldo,
Very nice hack should be part of the core. Tell me i've been trying to pull of many sites at once. What do you use for a multisite cms?



272380
Mithrandir
Re: new to xoops - question

Yes, it's doable. Basically anything possible in PHP is possible with XOOPS.

1. Newbb forum should suit your needs - otherwiser there are phpBB and IPB modules for XOOPS, although they require some changes to the XOOPS core and cannot be recommended to the inexperienced user

2. You'll probably need a custom module for this - especially if it should be incorporated in the user profile - but possible

3. XOOPS has excellent usergroup permission settings compared to most other CMS'es

4. Voting? Voting what?

5. There are several calendar modules, the most popular being Agenda-X and piCal.







Login

Who's Online

242 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 242


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