| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4548|Reply: 4
Collapse the left

HOW to remove "VIEW LARGER IMAGE'

[Copy link]

 Great Britain

Post time: 2015-10-07 10:55
| Show all posts |Read mode
I found that when i started a Payed thread viewer kan skip the payment through "VIEW LARGER IMAGE" i wonder how to remove it or to make it as payable too



thank you

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Post time: 2015-10-07 16:53 From the mobile phone
| Show all posts
can you simulate this on our forum? offtopic category will be the best place

 Great Britain

 Author| Post time: 2015-10-07 17:36
| Show all posts
kaaleth 2015-10-7 16:53
can you simulate this on our forum? offtopic category will be the best place

i cannot set thread price here

 Hungary

Post time: 2015-10-08 10:21
| Show all posts
Hello.
Login the ACP.
Click the Global on tab, then click the Attachments on left side menu.
Choose the Forum attachments link and select NO here: Display attached images in a post
After that the VIEW LARGER IMAGE link won't work.

Removal is not recommended!
Remove VIEW LARGER IMAGE link.

Open the ./template/YOURSTYLE/forum/viewthread_node.htm

Delete follow lines:
  1. <!--{if $_G['forum_thread']['attachment'] == 2 && $_G['group']['allowgetimage'] && (!$_G['setting']['guestviewthumb']['flag'] || $_G['setting']['guestviewthumb']['flag'] && $_G['uid'])}-->
  2.                                                 <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&from=album">{lang view_bigpic}</a>
  3.                                         <!--{/if}-->
Copy the Code
Go to ACP and Update cache.


Rate

Number of participants 1Rating +1 Collapse Reason
vot + 1

View Rating Log

Post time: 2015-10-08 22:21
| Show all posts
Good.

You don't have to delete code. Simply comment it!
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-05-02 04:22 GMT+3 , Processed in 0.064046 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list