21
Peekay
Re: Can content be extracted from one page to another?
  • 2007/1/26 12:11

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Nice work Preachur! If anyone wants to use the 'Content 0.5' module to manage tabbed blocks (and articles), I have updated my tab hack in this thread. It uses standard unordered list + CSS for the tabs.
A thread is for life. Not just for Christmas.

22
maxima
Re: Can content be extracted from one page to another?
  • 2007/1/26 15:18

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Preachur that is some crafty work you did. You deserve a grammy for that performance. :)

23
iddojedi
Re: Can content be extracted from one page to another?
  • 2007/3/26 3:18

  • iddojedi

  • Just popping in

  • Posts: 5

  • Since: 2004/10/31


I am having problems here: the newbb forum smarty tags r showed "literally":
_MB_NEWBB_FORUM
_MB_NEWBB_TOPIC
_MB_NEWBB_RPLS
_MB_NEWBB_VIEWS
_MB_NEWBB_LPOST
_MB_NEWBB_VSTFRMS

What I am doing wrong?

24
huzhenghui
Re: Can content be extracted from one page to another?
  • 2007/3/26 6:27

  • huzhenghui

  • Just popping in

  • Posts: 53

  • Since: 2007/3/24


Quote:

iddojedi wrote:
I am having problems here: the newbb forum smarty tags r showed "literally":
_MB_NEWBB_FORUM
_MB_NEWBB_TOPIC
_MB_NEWBB_RPLS
_MB_NEWBB_VIEWS
_MB_NEWBB_LPOST
_MB_NEWBB_VSTFRMS

What I am doing wrong?

These are defined in the file "/modules/newbb/language/english/blocks.php".
Which language do you use?
gmail & gtalk: huzhengh (at) gmail (dot) com
Skype: huzhenghui

25
iddojedi
Re: Can content be extracted from one page to another?
  • 2007/3/26 12:01

  • iddojedi

  • Just popping in

  • Posts: 5

  • Since: 2004/10/31


In Newbb (lol, sounds like "noob"!), english. Maybe I must include de file "newbb_block.html" in Content module ("templates\blocks" folder) and change the file "xoops_version.php" of it (root of the Content module). Is it right? Thanks in advance!

26
huzhenghui
Re: Can content be extracted from one page to another?
  • 2007/3/29 18:08

  • huzhenghui

  • Just popping in

  • Posts: 53

  • Since: 2007/3/24


Quote:

iddojedi wrote:
In Newbb (lol, sounds like "noob"!), english. Maybe I must include de file "newbb_block.html" in Content module ("templates\blocks" folder) and change the file "xoops_version.php" of it (root of the Content module). Is it right? Thanks in advance!

Is it a new problem or about "_MB_NEWBB_FORUM" showed "literally"?
gmail & gtalk: huzhengh (at) gmail (dot) com
Skype: huzhenghui

27
iddojedi
Re: Can content be extracted from one page to another?
  • 2007/3/30 0:52

  • iddojedi

  • Just popping in

  • Posts: 5

  • Since: 2004/10/31


No new problem. I was considering a possible solution. Interesting that when I put the block (recent forum entries) of the module visible (the original one, not the one in the tab hack), the literal expressions disappear it.

28
xguide
Re: Can content be extracted from one page to another?
  • 2007/3/30 11:18

  • xguide

  • Just popping in

  • Posts: 43

  • Since: 2005/5/11


Quote:
With this CubeLet System,
You can display any contents at any place!! Whatever!!Wherever!!
For example,
you can display online-status block in your comment!
(To do so,just make the CubLet which diplays online-status!)
and..
you can display Recent 10 post of forum in your PM!
(^^..Just make a cublet for it!)
and even...
if you wish to,you can implement Site-administration in your post at newbb.
(But it's not good idea!
Abuse of CubeLet can make your site very slow and even spoil your site!!
...^^;;


Visit the following forum:
http://xoopscube.org/modules/xhnewbb/viewforum.php?forum=9

And search "postload". You will found how to operate on content instead data. It is exactly what you need. It is incredible solution for XOOPS users which are stuck with last release.

Good Luck.

29
huzhenghui
Re: Can content be extracted from one page to another?

Quote:

iddojedi wrote:
No new problem. I was considering a possible solution. Interesting that when I put the block (recent forum entries) of the module visible (the original one, not the one in the tab hack), the literal expressions disappear it.

Which language do you use?
gmail & gtalk: huzhengh (at) gmail (dot) com
Skype: huzhenghui

30
preachur
Re: Can content be extracted from one page to another?
  • 2007/5/22 19:07

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Actually, I replaced the language tags that will not display properly through ajax with actual text in the template itself to make it display correctly.http://manufacturedsand.com/ Click on the forum tab and you will see that it looks right. This can be done by changing the block template in the module itself and then updating the module, or it can be done through the templates_c file, but if you do it through templates_c it will change back whenever you update, and then you have to re-modify it every time you update the module or the block. I suggest the first method.

In other words, I changed "_MB_NEWBB_FORUM" to the word "Forum" in the template so that it now displays correctly in the ajax tab box.
Magick can never be restrained, but when freely given is thrice regained!

Login

Who's Online

230 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 230


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