-
Hide content from registered users in PHPBB3
You might have been in forums where they show ads to guests but not to registered users. Ever wondered how do they do that? Of course there are specific hacks and plugins which do exactly this, but perhaps you’re looking for the most simple and unobtrusive solution. This is exactly what the code in this post offers: it is extremely simple to implement, yet not every PHPBB3 admin knows it. -
Hide modules from registered users in Joomla 1.5
While Joomla 1.5 allows hiding modules from guests (and just show them to registered users), it lacks the ability to do the opposite, namely hiding modules from registered users. Of course such thing can be very useful when there are modules inviting users to register (how pointless to show them to already registered users!), or modules showing advertisements to guests.As said, the backend does not allow you to set a module to show to guests only, but this can be very easily done in a couple of minutes and minimal effort with a simple hack to the template code. NO need to install plugins or add-ons! It is a simple yet very useful trick.
-
Custom data in EventList frontend event submission form
This is (a quickly written and) the last planned post of the EventList 1.0RC Component for Joomla 1.5 customization series, and in response to Junkah’s request. It explains how to add custom fields in the event submission form; the example below is a text field where the number of available places can be specified. The example only covers the process of saving the submitted number in the database, so that it can be kept for future reference. If you wish to prevent further registration of guests once the number has been reached, then you will have to write some extra code for that purpose, but as I said this is beyond the scope of this post.My apologies for not having all the free time I’d like to, for adding new contents more often and for writing with more details. Back to university, it’s all about priorities. It will be like this for some months, but I will do my best to keep up the knowledge sharing!
-
Showing registered users in EventList module
When using EventList module in conjunction with EventList 1.0RC component for Joomla 1.5, I missed the possibility of displaying in the module the number of registered attendees to each event, together with the already showing date, time, event name, etc.My approach to the issue was to add some extra PHP code to the EventList Mod template; concretely the code below. But before you attempt to try the same in your website, remember to backup the affected file.


