291271
Coreace
Re: how to provide news feed from xoops
  • 2003/10/7 12:34

  • Coreace

  • Just popping in

  • Posts: 16

  • Since: 2003/8/26


' Unfortanetly there isn't a central way for the headline's module to automatically provide your news to other websites, that would be a great feature, but I'm not sure how you would impliment it without have a centralized web services area on the XOOPS domain.'

This should be possible and something perhaps your team can look into. I have seen other CMS's having this as an option. A RSS button that will generate the links and feed for you. e-Xoops has this feature built into all the modules, just tested it the other day and found it very useful when sharing info across sites.



291272
toms79
Re: Registered users recieve only username? Can it be done?
  • 2003/10/7 12:22

  • toms79

  • Just popping in

  • Posts: 2

  • Since: 2003/3/21


I just figured out, that my question could be solved in this way: I need just to add field where anonymous users can put their name when adding comments. That was why I asked first question here. Users just wanted not to be anonymous when commenting articles. So here is next question - How to add additonal field to comments? Which forms I have to edit and how? May be someone has done it ??



291273
281266
Reorder position & Appearance of blocks
  • 2003/10/7 12:01

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


Hi,

I want to use the module "polls". I added there 2 new blocks with a message in it (kind of description what to do on that page). I now want to appear the message1-block above the polls, the message2-block below the polls.

I can see the "0" in the row "position". But no matter which numbers I type in and save, the order of the blocks does not change at all - also not the 2 blocks to each other.

How can I do this?

Secondly I realized that as soon as I am logged out as admin, I can not see the blocks at all anymore. They disappear until I login again. But I have everything available for non-registerd users - as far as I know...



291274
hal9000
Re: What is Smarty? [more data]...
  • 2003/10/7 11:39

  • hal9000

  • Just popping in

  • Posts: 60

  • Since: 2003/8/6 9


Thats great you guys... it all makes sense now and i can see why you decided to adopt it.
(if it isnt id chuck that in the faq somewhere)
keep up the good work!



291275
w_grace
Re: Logo and Theme design
  • 2003/10/7 11:38

  • w_grace

  • Just popping in

  • Posts: 27

  • Since: 2003/9/10


Hello,

Thanks, that sounds like a great offer, but I am far from a PHP guru, more a PHP Hack, I play more than I program or design anything.

anyway, drop me an email and maybe we can work something out.

William



291276
kolleyk
Mysql/Blocks debug return empty pop-up
  • 2003/10/7 11:30

  • kolleyk

  • Just popping in

  • Posts: 5

  • Since: 2003/6/6 1


Arrgh, help. I've been playing with XOOPS for quite some time and think it is a wonderful thing, but this little problem has me stumped.

Any idea how the mysql/blocks debug function, when enabled, is returning an empty html page in the pop-up?

It works fine on my local dev box, but on the hosting server it is not.


Kolley,



291277
Daigoro
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/10/7 10:11

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


ibzan,

You are right, something ought to be though out. And I belive the core team is thinking/working on a solution.
However, until an universal solution has been implemented, this kind of hacking is needed.

I must admit that I realy like using squre brackets to select the language "on the fly", eg. when writing a message. But on other ocations, it's a pain to use!
I'd like to see it implemented in the core, TOGETHER with a system to manage multiple languages.

I don't belive it's possible to make an automatic system that will enable all modules to be multilangual. The modules will need to be written to support it.



291278
Mikhail
Re: What is Smarty? [more data]... (was: What is e-Xoops?)
  • 2003/10/7 9:58

  • Mikhail

  • Just can't stay away

  • Posts: 412

  • Since: 2003/1/19


Resized Image

Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person.

For example, let's say you are creating a web page that is displaying a newspaper article. The article headline, tagline, author and body are content elements, they contain no information about how they will be presented. They are passed into Smarty by the application, then the template designer edits the templates and uses a combination of HTML tags and template tags to format the presentation of these elements (HTML tables, background colors, font sizes, style sheets, etc.) One day the programmer needs to change the way the article content is retrieved (a change in application logic.) This change does not affect the template designer, the content will still arrive in the template exactly the same. Likewise, if the template designer wants to completely redesign the templates, this requires no changes to the application logic. Therefore, the programmer can make changes to the application logic without the need to restructure templates, and the template designer can make changes to templates without breaking application logic.

Now for a short word on what Smarty does NOT do. Smarty does not attempt to completely separate logic from the templates. There is no problem with logic in your templates under the condition that this logic is strictly for presentation. A word of advice: keep application logic out of the templates, and presentation logic out of the application. This will most definately keep things manageable and scalable for the foreseeable future.

One of the unique aspects about Smarty is the template compling. This means Smarty reads the template files and creates PHP scripts from them. Once they are created, they are executed from then on. Therefore there is no costly template file parsing for each request, and each template can take full advantage of PHP compiler cache solutions such as Zend Accelerator (http://www.zend.com) or PHP Accelerator (http://www.php-accelerator.co.uk).

Some of Smarty's features:

* It is extremely fast.
* It is efficient since the PHP parser does the dirty work.
* No template parsing overhead, only compiles once.
* It is smart about recompiling only the template files that have changed.
* You can make custom functions and custom variable modifiers, so the template language is extremely extensible.
* Configurable template delimiter tag syntax, so you can use {}, {{}}, <!--{}-->, etc.
* The if/elseif/else/endif constructs are passed to the PHP parser, so the {if ...} expression syntax can be as simple or as complex as you like.
* Unlimited nesting of sections, ifs, etc. allowed.
* It is possible to embed PHP code right in your template files, although this may not be needed (nor recommended) since the engine is so customizable.
* Built-in caching support
* Arbitrary template sources
* Custom cache handling functions
* Plugin architecture



291279
Daigoro
Re: Problem with Xoops memberlist in Opera
  • 2003/10/7 9:55

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


Quote:

onokazu wrote:
This has been fixed in XOOPS 2.0.5 RC


Great. Thanks!

I'm now running a heavily hacked XOOPS system, and would prefer to postpone upgrading as long as possible. Can I just install the new memberlist module in the old system?



291280
281266
Search engines, browsers, xoops and iframe
  • 2003/10/7 9:53

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


Hi,

I am planning to use one XOOPS 2.04 installation as my "news page" for several sites. Therefore I want to use the same navigation bar, header, colour etc. of the individual websites, but all the rest shall come from this one and only XOOPS installation. I.e. 4 different sites use this XOOPS installation as a "mirror".

I wanted to achieve this with iframe. The problem is that I do not know what the downside would be regarding XOOPS functionality and other potential issues.

It is important for me that

1. All search engines will find the content of the XOOPS news (no password restriction, content is free accessable)

2. I can post once an articel in this XOOPS installation and it appears on all other 4 sites in that news section.

3. ALL modern browsers (IE, NS, Mozilla, Opera, AOL) shall be able to open it without restrictions. Or at least I want to know what the downside is for each browser.

I know that there is a solution for Netscape version 4 and earlier with ilayer, but I do not know whether this is in conflict with new browser. These old browsers is nobody usining anymore anyway (?). So the focus would be on version 5 and higher for all browsers. This is how I would do it:

----------------
<iframe src="url" width="100%" height="100%">
<ilayer src="url">
<p>See our <a href="url">news section</a>.</p>
</ilayer>
</iframe>
------------------

What are the pro and cons of this strategy and is there a better way (in which way better?) than the code I posted above?

Thanks in advance







Login

Who's Online

146 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 146


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