11
chipthamac
Re: php inlude tag makes blank block
  • 2005/4/13 19:32

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Quote:

m0nty wrote:
if it's a custom block, then select php for the block type.. and then remove the php tags..

ie.

so it looks like:

<font size="1" face="Verdana">
include 
'http://www.everythingfunny.com/links/my_links.php';
</
font>

I went and tried that, and still get the same blank block. I also tried to do an iframe to get around this, and it comes up blank that way as well. I'm stumped.



12
chipthamac
php inlude tag makes blank block
  • 2005/4/13 18:56

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Hi,
I searched and checked FAQ's and couldn't find an answer.
here is my problem.
I create a custom block and insert the following code
Quote:

<font size="1" face="Verdana">
<?php
include 'http://www.everythingfunny.com/links/my_links.php';
?>
</font>

When I go to view the page with the new block, the block appears empty / blank.
I can go to the php page individually it works and shows the content.
Any help would be greatly appreciated, im banging my head against the wall over here.
-chip



13
chipthamac
Re: Sections module help order reverse by date/time
  • 2005/2/16 2:56

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Hey Dave, one more thing, would thier be anyway for me to make a sublink in sections of the most popular links?
If you have time to answer this, if not cool, i'll just fool around with the code. :P
Thanks.



14
chipthamac
Re:Setting the target for links in some blocks
  • 2005/2/15 19:29

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Quote:

balancedi wrote:
To Guido:
When XOOPS interpets bb code links it adds target="_blank". So it reads:

[URL=yourlink]LinkText[/URL]

and changes it to:

<a href="yourlink" target="_blank">LinkText</a>

This forces a new window to open. If it simply left off the target="_blank" then the link would open in the current window. I'm not exactly sure why XOOPS does this. Maybe its some standard method of interpeting bb code.

At any rate, to make this easier for my users that aren't HTML savvy I edited the XOOPS core. For me this didn't seem to have any detrimental side effects on the rest of XOOPS. I edited the file /html/class/module.textsanitizer.php. There is a small function in there called &xoopsCodeDecode that handles this. I just removed everything that said target="blank". (Note: always make a backup before editing code.)


To Anyone:
Is there a way for me to recommend this little change to the XOOPS developers?


Solo71:
Thanks for the tip about Edito and multiMenu. They won't help me with this specific problem but they really look like very handly modules.


This worked great for me as well. I made of custom block where I post the urls of new media that I post. I didn't want it to open up in a new window, because that's just bad form. :p
I didn't know the file that I needed to edit and actually found this post. awesome. I opened the file in wordpad, did a find - replace on the edit menu and plugged in target="_blank" into the find slot and left the replace slot blank. Then I clicked replace, opened up my ftp program, renamed the /html/class/module.textsanitizer.php to /html/class/module.textsanitizer.bak, then uploaded the edited file.
Worked like a charm with no errors thus far.
Thanks guys.



15
chipthamac
Re: Google Ads colours tied into XOOPS theme
  • 2005/2/15 19:21

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


i believe it is against googles TOS to change the colors other than with thier color picker via google.com/ads



16
chipthamac
Re: Sections module help order reverse by date/time
  • 2005/2/11 17:15

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Dave,
Thanks so much for responding so quickly.
That worked EXACTLY the way I wanted it too.
Thanks again, I appreciate it.
Tested. Works.
:)



17
chipthamac
Re: Sections module help order reverse by date/time
  • 2005/2/11 16:08

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


i looked at the index.php file under modules/sections but I can not find where to change the ASC to DESC so that it reverses higher article id's first.
Any help on this would be greatly appreciated.



18
chipthamac
Re: Download module problem
  • 2005/2/9 2:24

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


same admin account, the only thing different is the computers?



19
chipthamac
Sections module help order reverse by date/time
  • 2005/2/8 20:47

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Is there anymore information anywhere on the sections module?
Look at this page here for an example of what I am talking about.

I want the contents that I add to list in reverse order, newest at the top. Does anyone know how I could accomplish this?

Thanks in advance.
-Chip
and yes, i have checked the FAQ and searched. thx



20
chipthamac
Re:Mail Problems
  • 2005/2/1 5:05

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


This is just and update, www.mysitespace.com sux a$$ and doesn't support any of the methods used to send mail from xoops. They are very immature as well, the only reason I am posting this info about them is just in case someone else encounters problems with mysitespace.com. In the event that you decide to go with another webhost and leave mysitespace backup your site to your hard drive first as they will del it.
here is a msg from them when I emailed them and told them I would be leaving and possibly contacting mastercard about a chargeback.
"Thanks for the heads up Chip. We'll go ahead and start preparing our rebutle. In the mean time, your billing has been stopped and the account terminated.


Thank you!
MySiteSpace Sales and Customer Service

MySiteSpace Sales and Service
http://www.mysitespace.com"

Within one hour all my files were del.

With my new host mail sent fine through default install.
Hope this helps at least one person.
Thx.




TopTop
« 1 (2) 3 »



Login

Who's Online

203 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 203


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