Jump to content

[IPS4] Tutorials

Featured Replies

Is that not a security flaw? Can I disable the description box completely

  • Replies 666
  • Views 58.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Adriano Faria
    Adriano Faria

    I'll take this whole week to release some new features in some of my resources. Tutorials is one of them. I'll try to release it yet this week. True, I can reproduce it. Due to what I said abov

  • Adriano Faria
    Adriano Faria

    What's New in Version 2.0.1: New features: Caegory Icons: now you can choose an icon to your categories. Use: if you have a category of articles about iDevices (iPhone, iPod, iPad, etc.), then you

  • It should be posted under tutorial area.

Posted Images

  • Author
Just now, DirectorECI said:

Is that not a security flaw? Can I disable the description box completely

Just don't use Javascript there! Description is added on ACP, so don't use it.

Anyway, I'll take a look for the next version.

I have made it available to certain user to create tutorials from the front end. The security auditor has pointed out this flaw

  • Author
8 minutes ago, SDT said:

I have made it available to certain user to create tutorials from the front end. The security auditor has pointed out this flaw

You mean the tutorial content when you create a tutorial?

EDIT: ah ok, DESCRIPTION is a field in the tutorial post screen.

Taking a look on it now.

Edited by Adriano Faria

  • Author

Ok, it will act like the tutorial content field:


sTRfPju.png

It won't "execute"... will simply show it.

I'll release a new version in a few minutes.

  • Author

What's New in Version 2.3.2:

Compatible with IPS 4.3 ONLY!

  • Added compatibility to Automatic Moderation
  • Script optimization in Description field

Hello sorry for my English

tutorials 2.2.6

Bots started spamming in comments, about 1000 spam. I deleted guest comments in the table tutorials_comments and launched a search index recalculation
But the statistics of comments are not refreshed. How to update. Tell me please 

image.thumb.png.89feb0e378090d4f204539fc9997df87.png

 

 

  • Author

It doesn't refreshed because you deleted it manually in the table, which isn't recommended. Run the query:

update tutorials_articles set a_comments = X where a_id = Y;

where:

  • X is the number of comments you want to keep
  • Y is the tutorial ID
1 hour ago, Adriano Faria said:

It doesn't refreshed because you deleted it manually in the table, which isn't recommended. Run the query:


update tutorials_articles set a_comments = X where a_id = Y;

where:

  • X is the number of comments you want to keep
  • Y is the tutorial ID 
Manually very difficult to handle. A large amount of material in the application.
  • 1 month later...

Hi,

Sorry I don't find how to convert a post into tutorial, can you help me?

  • Author

Probably a group setting. Enable it and it will appear.

Thanks Adriano was that! :wink:

Sorry 2 more questions please:

1 - How to translate this words I don't find them in the location section

1239610349_Capturadepantalla2018-06-29alas21_31_46.thumb.png.3888ed8c8d58abe059c1398285b4fd80.png

 

2 - There is posible to change the template of tutorials?

  • Author
1 minute ago, Pedro Ibáñez said:

1 - How to translate this words I don't find them in the location section

c_ordering_author and a_container lang bits.

1 minute ago, Pedro Ibáñez said:

2 - There is posible to change the template of tutorials?

Of course. You're free to do whatever you want in the ACP -> Customization.

1 hour ago, Adriano Faria said:

c_ordering_author and a_container lang bits.

1 hour ago, Pedro Ibáñez said:

Working, thanks!

1 hour ago, Adriano Faria said:

Of course. You're free to do whatever you want in the ACP -> Customization.

And do you have any template I can buy or do you now any template to buy compatible with tutorials?

  • Author

No. 

Ok thanks anyway Adriano!

  • 1 month later...

Hi again!

Please there is any way to use the ips multipage feature? I want to make tutorials with more than one page but it seems not to work with the ckeditor?

 

Much thanks!

Edited by Pedro Ibáñez

  • Author

Yes, it works in any place editor appears. 

This:

{page} 1111111

{page} 222222

Without spaces and replacing {} per [].

 

Edited by Adriano Faria

  • 1 month later...

Hi, anyone has a live site link can pass to me on here or in PM, so I can see what this app looks like?

Thanks 

  • Author
13 hours ago, beats23 said:

Hi, anyone has a live site link can pass to me on here or in PM, so I can see what this app looks like?

Thanks 

I will set up a testing account and will send a message. 

19 minutes ago, Adriano Faria said:

I will set up a testing account and will send a message. 

Thanks.

  • 1 month later...

Hello,

I have a problem with the editor: indent between lines in the article is more than it shows in the editor. In the remaining sections everything is fine. The problem is only with Tutorials. How to fix it?

First screen - article. Second screen - editor.

1.jpg

2.jpg

  • Author
16 hours ago, tommax said:

Hello,

I have a problem with the editor: indent between lines in the article is more than it shows in the editor. In the remaining sections everything is fine. The problem is only with Tutorials. How to fix it?

First screen - article. Second screen - editor.

Did you test in default theme?

They look the same in to me:

- Topic:

Orj1XFf.jpg

- Article:

avmaz0e.jpg

Text copied from the URL: https://www.lipsum.com/

Anyway, that's the HTML with CSS classes used in Tutorials for this specific part:

	<div class='ipsColumns ipsColumns_collapsePhone ipsBox'>
		<article class='ipsColumn ipsColumn_fluid'>
			<div class='ipsPad'>
				{{if $article->desc}}
					<h2 class='ipsType_sectionHead'>{lang="a_desc"}</h2>
				{{endif}}
				<section class='ipsType_normal ipsSpacer_top'>
					<div itemprop='text' data-controller='core.front.core.lightboxedImages'>
						{{if $article->desc}}
							<em>{$article->desc}</em>
							<hr class='ipsHr'>	
						{{endif}}
						
						{{if $article->thumb}}
							<div class="cTutorial_image">
								<img class="ipsImage ipsThumb_tiny ipsImage_thumbnailed" src="{file="$article->thumb" extension="tutorials_Image"}">
							</div>
						{{endif}}
						
						{$article->content|raw}
					</div>

I'd suggest you to compare CSS classes between default and your theme.

21 minutes ago, Adriano Faria said:

I'd suggest you to compare CSS classes between default and your theme.

I'll test Tutotial in default theme and problem not resolve. :(

On the default theme for some reason, the gaps between the lines are displayed.

horrorterritory.com/tutorials/article/1-intervyu-s-prodyuserami-resident-evil-2-remake-kadzunori-kadoi-i-cuyosi-kanda/

  • Author

I can't reproduce, as you can see on my image.

1 minute ago, tommax said:

horrorterritory.com/tutorials/article/1-intervyu-s-prodyuserami-resident-evil-2-remake-kadzunori-kadoi-i-cuyosi-kanda/

GoV3YNe.jpg

Recently Browsing 0

  • No registered users viewing this page.