1
jayfenster
Adding subject to recent posts block in CBB
  • 2005/12/27 4:01

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


Hello,

I am trying to modify the Recent Posts block in CBB 2.31 so that it displays the topic title and the post subject like so:

Topic title:Post subject

I can't seem to get the topic title to show up - just the post subject. My code currently looks like this:

<{if $topic.subject}> <{$post.subject}> <{/if}>:<{$topic.title}>

What do I need to do to get this to show up?



2
jayfenster
memory exhausted on front page of Weblinks module
  • 2005/11/30 18:18

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


Hello all,

I am getting the following error message on the main page of the Weblinks module:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 48 bytes) in /home/httpd/vhosts/swina.com/httpdocs/class/xoopsform/formdhtmltextarea.php on line 91

I don't get it on any of the other pages in the module.

Any idea how I'd go about fixing this?



3
jayfenster
Re: Cloning comments into 2 separate functions.
  • 2005/11/29 7:19

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


if i could filter out a block so it only displayed comments from one module that would work too.



4
jayfenster
Re: Cloning comments into 2 separate functions.
  • 2005/11/29 6:08

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


OK, here's the code I'm looking at:

<{foreach item=comment from=$block.comments}>
  <
tr class="<{cycle values="even,odd"}>">
    <
td align="center"><{$comment.title}></td>
    <
td align="center"><{$comment.module}></td>
    <
td align="center"><{$comment.poster}></td>
    <
td align="right"><{$comment.time}></td>
  </
tr>
  <{/foreach}>


I want to start pulling the titles of the items that are being commented on up - how would i do this?



5
jayfenster
Re: Cloning comments into 2 separate functions.
  • 2005/11/28 23:15

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


Alternatively, how could I create conditional statements that filter out what shows up in comment blocks and/or inline based on which module is calling them?



6
jayfenster
Cloning comments into 2 separate functions.
  • 2005/11/28 22:51

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


Hi everyone,

I want to use the Comments functionality in XOOPS for a second function separate from the traditional one, for my affiliate/e-commerce module.

How would I go about "cloning" the Comment system so that I can have it display differently, and use a different database table, so that I can use the same functionality in two places and have it appear two different ways?

Thanks,

~Jay



7
jayfenster
PDlinks - description is not taking HTML
  • 2005/11/23 0:54

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


I am trying to use HTML in the Description field in PDlinks, but it's not parsing HTML code used, only XOOPS code.

I've checked everywhere that allows you to specify Disable HTML tags, and everything seems to be set to allow them. Is there somewhere else that this could be triggered?



8
jayfenster
Profile module - Website displayed as plain text rather than link
  • 2005/11/19 3:03

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


Hello,

I am running XOOPS 2.2.3, and when I pull up a user profile in the Profile section, the Website entry displays as plain text instead of as a link to the URL given.

Is there any kind of hack or code with which I can make the Profile section display the URL as a link?



9
jayfenster
News - parents include child topics?
  • 2005/11/7 16:10

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


How do you configure the News module so that when it lists a posts by topic, that category includes all its child topics as well?



10
jayfenster
Re: mysterious td background color
  • 2005/11/7 5:08

  • jayfenster

  • Just popping in

  • Posts: 17

  • Since: 2005/8/25


i've identified the problem! w00t!

Under Management > General Settings, I changed:

Update module template .html files from themes/your theme/templates directory?

From "no" to "yes."




TopTop
(1) 2 »



Login

Who's Online

138 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 138


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