Jump to content

DReffects2

Members
  • Posts

    612
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by DReffects2

  1. Hey Guys, so for some reason I really want to preserve HTML Code with embedded base64 images like this one: <div> <p>Taken from wikpedia</p> <img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" /> </div> unfortunately the base64 image breaks apart when saving. There seem to be some options for CKEditor to allow this. Could you point me into the right direction please? Thanks!
  2. Thanks for the info. I've implemented a voting via poll-maker.com for the moment.
  3. ahh 🙂 yes, I mean a poll, where guests can vote without registration, like with guest comments.
  4. Hm yes, I see that guests can create topics and polls, but other guests cannot vote. Which group setting are you talking about? Settings for the user group "guests" or the guest permissisions within the premission matrix of the selected forum? Or am I missing something?
  5. I recall an option to allow guests to take part in polls. has this feature been removed? If not, how can i create a public poll? Thanks 🙂
  6. Thanks, sorry, my initial search in the forums did not show me this. ❤️
  7. Hey guys, I was wondering if anyone of you is able to embed facebook video posts like these: https://www.facebook.com/StarTrek/videos/742330073143729/ As far as I can remember this used to work but does not anymore. Is there a fix for that? Thanks!
  8. Vielen Dank mein Herr! @DawPi That looks awesome. where can i get this plugin?
  9. So my community is getting flooded with spam lateley. We do allow guest comments for news and articles and we like to keep it that way since ~80% of all comments are made by guests. ReCaptcha 2 seems to be unable to prevent spam from bots so I was hoping to be able to enable the "Question and Answer Challenge" not only for registration but also for posting guest content. I propose the following features: Allow Question and Answer Challenge for guest content enable a "show random question" option for both registration and guest comments What do you guys think? 🙂
  10. So i am having all kinds of strage template related issues lately. For example: <img src='{file="$record->_record_image_thumb" extension="cms_Records"}' alt="{$record->container()->name}"> did NOT output the URL in the src="" property but instead gave a base64 encoded data stream src='data:image/webp;base64,UklGRmgIAABXRUJQVlA4IFwIAADQIACdASpaAEoAPm0uk0akIiGhK9RsMIAN I've disabled all sorts of caching within IPS, checked the templates, rebuilt stuff, etc. Also i found that if I output the URL in HTML before the <img> tag like this <p>{file="$record->_record_image_thumb" extension="cms_Records"}</p> <img src='{file="$record->_record_image_thumb" extension="cms_Records"}' alt="{$record->container()->name}"> the value in src="" would be in fact the correct URL to the /uploads directory, not some base64 encoded data. (This makes no sense at all to me...) Turns out that the Google PageSpeed apache module started to modify the html code during output somehow. I do not know if this behaviour is normal. I've disabled the PageSpeeds module for now and all my problems are gone... Can anyone verify this or suggest a different PageSpeed configuration? I am running the affected site on a Centos8 machine with Plesk 18 and Google PageSpeed is in its default configuration as provided by the Plesk extension library. I am using PHP 7.4.13 Thanks...
  11. Thanks for the link! I have to say this is unfortunately a little bit above my paygrade 😉 Is there a full list of all available methods and properties aka a full list of "variables" that can be used within templates? I recall that previous versions of the community had a full list of variables in a sidebar to the template editor. As of now I still would not know that theres the magic "_title" property if you had not told me. I've also encountered a very strange behaviour with the return value of $item->database()->_title. This if clause always returned false: DB Name: {$item->database()->_title} {{if $item->database()->_title=="Episodendatenbank"}} TRUE {{else}} FALSE {{endif}} Output: DB Name: Episodendatenbank FALSE I've changed my template with the same logic but am using $item->database()->_id - this works. But why does it not work with the string of the db-name?
  12. Hey guys, it started a few feeks ago, my site got FLODDED with Spam postings from guests and new users. I figured I should update to the latest release but the spam continues... I am allowing guest comments on articles and like to keep that since ~70% of all valid comments are from guests. Also the massive increase in spam accounts worries me. Is this something IPS is informed about? Is this a known issue with recaptcha atm? Thanks
  13. THANK YOU VERY MUCH! This works. Unfortunately I do not know why and how 😞 Where can i find a list with functions/methods for the objects?
  14. Thanks. I am unsure what you mean by id. This is not a listing template
  15. Hey Guys, so I am trying to add an if-clause to one of the templates (cms → front → global → embedRecord) and used print_r($item) to output all available information. I'd like to access the specific database-name where the record is being pulled from and can see that within the array: [recordPage:protected] ( [_data:protected] => Array ( [id] => 8 [name] => Fancy Databasename Unfortunately i do not know how to access the information directly from the template. I've tried with $item[recordPage][_data][name] but that threw an error. How can I access this information? Thanks!
  16. Hey Guys, is there a way to have users enter a voucher code and simply download a file without the hassle of registering first? Same goes for a basic password protection for certain files. No account, just enter the password and download functionality? Thanks 🙂
  17. just found out the hard way that guests in fact cannot vote even on polls in public forums 😞 please add this!!
  18. Looks like i still cannot search custom fields which makes the whole pages custom databases pretty much useless... Any update on this?
  19. The thing that baffels me is that there seems to be no decent documentation on the css classes, on how variables work, on how to fetch data within the templates etc. Thanks, but how did you know that about the class ipsPad? (I know, you could go through the whole firebug process and that would work for classes that are being used actively) Is there a document that lists all classes with design examples? I did some customisation for ip.content in the 3.x version of the community and really hated the whole process. Then you open up a topic in the forums and some more advanced user tells you to just use some object call. Great. I'd love to do that. But what I would love more is to know about those object functions before even asking in the forums. $this->DB->build( array( 'select' => '*', 'from' => 'downloads_files_records', 'where' => "record_backup=0 AND record_file_id=" . $file[file_id] . " AND record_type IN('upload','link')" ) ); $this->DB->execute();That's an example from my template modification. How the hell do I know about the $this->DB->build/execute() function? Is this sort of stuff documented anywhere?
  20. Hey Guys! I've just started a new community and importet TONS of current and old customers into the IPB Database. Therefore i have TONS of users that never logged in or posted. I'd like to see an option to hide those members in a) the members listings b) the board statistics Once such a user logs in for the first time, he's been shown in the sections memtioned above. Thanks! -Daniel
×
×
  • Create New...