31
BradM
Re: auto-replace block title with graphic
  • 2004/1/8 6:27

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Quote:
does n1 knows a place to find 'block graphics' (gif,jpg) for this hack?


I could swear that about a year or so ago I came across a site that generated instant title graphics. All you had to do was enter the text, pick a font, and it created a button or something (I think).

Of course, no matter what I tried in Google, nothing came up, so I'm afraid I'm not being very helpful here.


Brad



32
BradM
Re: auto-replace block title with graphic
  • 2004/1/8 6:06

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Quote:
This line causes a blank screen.
$imgttl = mb_convert_case($imgttl, MB_CASE_LOWER, "UTF-8");


Yikes I wish I knew. I'm really new to php coding, so I was basically following some code examples I found at php.net.

Does that line of code appear all on one line? Sometimes if there's a line break it can mess things up.

Also, the website does mention that the command mb_convert_case requires PHP v4.3.0 or greater. Maybe you aren't running this version?

I'm not sure if you can check your php version via Xoops, however if you are running the IPB Forum module, it tells you the php version on the main page (for example, I'm running 4.3.3).


Brad




33
BradM
Re: Do you know what happens when you delete your templates_c folder?
  • 2004/1/8 5:50

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Yeah, basically it'll be off the root directory of your XOOPS installation (at least that's what it is for me).

So if my site ishttp://www.mysite.com/portal then the templates_c directory would be /portal/templates_c/ (the same directory where your main themes directory resides.


Brad



34
BradM
Re: New Theme Copyright issue
  • 2004/1/8 5:47

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Perhaps a cached version of the theme is in templates_c? Have a look, and I guess delete it if it's there, then it should update.


Brad



35
BradM
A "user directory" for hacked files
  • 2004/1/7 1:34

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


I used to help out with an open source perl-based flat-file portal system. One idea we came up with was to create a "user_lib" directory (I can't say the idea was original, but I haven't seen it in too many places).

The portal script first checks for the existence of a particular library file in this directory; if it isn't there, it uses the one in the default installation.

For example, if I hacked away at functions.php, I would upload the modified file into my user_lib directory. XOOPS then looks there first for the file, and uses it, rather than the copy within the /include directory. If I decide to remove the hack, I just remove the file from my user_lib directory, and voila, XOOPS uses the one within the /include directory.

In the other portal system, this made it extremely easy to keep track of which files I had hacked, especially when it came time to upgrade to a new version.

I'm not too sure how difficult it would be in a php environment, but in perl all we did was add this line to the bottom of the library files:

if (-e "$scriptdir/user_lib/filename.pl") {require "$scriptdir/user_lib/filename.pl"}


Brad



36
BradM
Re: How to change textual Block Title into Images ?
  • 2004/1/6 2:31

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


I'm not sure if this will help, but here is a hack I posted a little while ago in the theme hack forum. It basically changes all the center block text to graphics.


Brad



37
BradM
ABZ Media
  • 2004/1/4 22:13

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Is anyone using ABZ Media? Their hosting packages seem pretty cheap for what is offered. Any comments or feedback about them?


Brad



38
BradM
Re: Be Gentle ...
  • 2004/1/4 21:55

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


I agree! I'm looking to find a provider for a new Xoops-based site. I find that these types of sites, especially those which aren't graphics-heavy, tend to take up little disk space.

With a new site, you never know how popular (or unpopular) it will become. So a base plan of 1Gb xfer + 20Mb would be good, and having the option to upgrade if needed, even better.


Brad



39
BradM
Re: Xtremeguestbook question
  • 2004/1/2 19:07

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


The version I'm using is 2.3 (I downloaded it from here).

There is also this thread which talks about some compatibility issues that some are having (I had a fresh install and therefore had no problem).

As for the title, you could also try this:

In the xtremeguestbook_post.html template, change:
<{$post.i}> - <{$post.title}>


To something like this:
<{$post.i}><{if $post.title}> - <{$post.title}><{/if}>


This should then only display the title if one exists (BTW you should probably just download v2.3 first and then see if anything needs to be hacked ).


Brad



40
BradM
Re: Amazon mod
  • 2003/12/31 14:52

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Parody passed along his most recent archive of the Amazon mod to me, so I can pick up where he left off in order to try to build this into a XOOPS module.

If anyone else has started working on this (or wishes to develop it further) feel free to ask me for the archive. It will be my first module, so I can't guarantee it will be a fast turn-around (especially considering I just had a major server crash, and it'll be a few days before I have a functioning test site again!!).

Anyway, feel free to offer your comments and suggestions, I'll do what I can!


Brad




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



Login

Who's Online

128 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 128


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