HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


I just realized some thing.

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#23585 (In Topic #5693)
Avatar

Community saint

I was extending the features page for my site and I know I was told about the hide and when I just read about it I remembered that the only why to hide text or some thing in IPB is with a hack/ add on and there are several out there. I used 2 different ones on a site that needed them, Not my site but one of the many ipb sites work on, I do a lot of IPB support by the way.

To make this in the right section the one I use for ipb makes it so you have to hit a thank you botton to open the hide, although the site owner wants it to work like the hide for ocPortal.
Any way there is another hide hack the first one I used on that site that made it so all you had to do was post in that thread and it showed up, this led to spam so the one above was put on.
Any way There is one other for ipb that makes it so you have to have so many posts to see the hide and my question is can this be done with ocPortal's hide?

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#23602
Avatar

It's a simple change, but one I haven't tested. Upload comcode.php to your sources_custom directory, and COMCODE_HIDE.tpl to the templates_custom directory of your theme.

Attachment
» Download: hide.zip (14 Kb, 73 downloads so far)


It's currently set up so that people with more than 5 posts will see the contents of the hide tag, but you can easily change that by changing the number on line 12 of COMCODE_HIDE.tpl.

Back to the top
 
Posted
Rating:
#23617
Avatar

Community saint

O wow thanks, This is awsome. This will be very helpful for a site I help on.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: