431
jlm69
Re: Banner Hack Question
  • 2004/7/11 22:23

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


That Did it , Thanks alot.

This hack will allow you to add up to 9 other banners to your site. EX. banner1,banner2,etc. they are just cloned from the original banner system. You can make each one a different size if needed. Each one works exactly like the original banner system. Does not effect the original banner.
I needed something to put a column of banners down the right side of my site. Didn't want to go outside of Xoops.
Maybe this could be the start of a banner Module.

Is this something people would be interested in?



432
jlm69
Re: Banner Hack Question
  • 2004/7/11 21:55

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


That doesn't work. I would have to add <?php tags and make it a html block, then I get code in the block.



433
jlm69
Banner Hack Question
  • 2004/7/11 21:46

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I have made a hack to put banners (up to 8) in a right block, or anywhere you want. My only problem left is that I want to center the banner in the block. I am using this code in the block as php :

echo xoops_getbanner();

Is there anyway to center it in the block. Nothing i tried would work. Once I get this, and test it for a week or so, I will release it.



434
jlm69
Re: Script execution not allowed after update to 2.0.6 -> 2.0.7
  • 2004/6/28 3:13

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I was under the impression that if you set the XOOPS_CHECK_PATH
in the mainfile.php to 0 it bypassed the new security feature.
I personally set it to 1 but if I'm wrong could someone explain better.

In mainfile.php

define('XOOPS_CHECK_PATH', 0);



435
jlm69
Re: Immediate Installation Failure - lots of errors
  • 2004/6/22 14:32

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Look at this thread it might help you.

https://xoops.org/modules/newbb/viewtopic.php?topic_id=20089&forum=27#forumpost86942



436
jlm69
Re: How do you select less than five articles for news?
  • 2004/6/22 14:24

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


This is one I'm not sure of but maybe you could look at

news/templates/news_index.html
Maybe edit these lines.


<!-- start news item loop -->
<{section name=i loop=$stories}>
<{include file="db:news_item.html" story=$stories[i]}>
<br />
<{/section}>
<!-- end news item loop -->

Hope that helps.



437
jlm69
Re: Immediate Installation Failure - lots of errors
  • 2004/6/22 13:57

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


The simple things sometimes forgot.

Did you create the database in mysql?
Did you create a database user?
Did you associate the user with that database?
Is MySQL running?

Other than that I'm not familiar with Windows servers.



438
jlm69
Re: Immediate Installation Failure - lots of errors
  • 2004/6/22 13:15

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19



If you want to use 1.3.10 you need to set the following permissions


chmod 666
- modules/system/cache/config.php
- modules/system/cache/mainmenu.php
- modules/system/cache/adminmenu.php
- modules/system/cache/badips.php
- modules/system/cache/badunames.php
- modules/system/cache/badwords.php
- modules/mylinks/cache/config.php
- modules/mydownloads/cache/config.php
- modules/xoopspoll/cache/pollsblock.inc.php

chmod 777
- images/avatar/users/
- modules/xoopsfaq/cache/



439
jlm69
Re: Immediate Installation Failure - lots of errors
  • 2004/6/22 12:59

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I'm not familiar with windows servers but it sounds like a permission problem. did you set the permissions to the 3 folders, uploads, templates_c, and cache. And the file mainfile.php to be writable, in linux it would be chmod 777

Another thing there is no install.php file in the root of xoops2, or are you using 1.3.10?



440
jlm69
Re: xoops post-installation error messege ?
  • 2004/6/20 23:23

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Use the info in the sql file at install/sql/

First use the mysql.structure.sql and create the tables you need (cut and paste).

Second use the mysql.data.sql and insert(cut and paste) the info you need.

Hope that helps.




TopTop
« 1 ... 41 42 43 (44) 45 46 47 ... 53 »



Login

Who's Online

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


Members: 0


Guests: 192


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