vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Easy Forms v4.x - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=234385)

your24hourstore 05-20-2010 12:51 AM

Quote:

Originally Posted by Alisa Lindsay (Post 2039857)
Good Day All,

I have a small cosmetic issue on the Form List page layout. This is not impacting functionality, just hard for an old person like me to read or I'd leave as is.

If someone could tell me how to fix...or what the issue is, I'd be grateful.

Steps I've Taken to Fix: Completely uninstalled the mod including clientscripts. Downloaded a clean version and reinstalled. Issue remains.

On the Forms List Page, the different form sections are not showing as they do in the screenshot attached to Post #1 here...

Screen shots below...

#1: How They Appear on My Forum (Custom and Default Styles)

http://i156.photobucket.com/albums/t...rentScreen.jpg


#2: How They Should Appear Per Screenshot Here....

http://i156.photobucket.com/albums/t...msShouldBe.jpg

Please let me know if you can help.

Thanks for an amazing mod that my RPG site loves!

Warmest Regards,

Alisa:D

margins are bit less but
I think i see the blocks in the dark pic the style is just not highlighting them!
other than that it looks right nice styleing BTW

promoprompt 05-20-2010 03:52 PM

Great work, looks good.

I´f install it at a testforum. My biggest startproblem was, to find the adjustment of rights.

Here for VB4.0.3 Suite (CMS)
German: ACP --> VBulletin-Einstellungen --> last Entry in the List( Easy Forms Options)

English: ACP --> VBulletin-Setup --> last Entry in the List( Easy Forms Options)

It´s essential, to set on all options, the Admin-Rights (plus what you want). After THAT, you can start with EasyForms! Normaly nobody see Easyforms.

As I wish to add the functionality to post into the BLOG
What settings needed, for an unregistert user (normal Internetsurfer) to see sepcial Forms?

Greetings promoprompt

Sugoi na 05-21-2010 10:27 PM

Anyway to make it so usergroups can only edit THERE forms? My forum is designed to allow users to create forms so others on the forum can user them. If I allow everyone to edit, we may have 1 bad egg ruin the bunch...

Any ideas?

Yes I can create a "trusted" usergroup... I know but still have the fair of one of the "trusted" going rogue & deleting everyones.

Alisa Lindsay 05-21-2010 10:43 PM

Quote:

Originally Posted by harleyparts (Post 2040257)
margins are bit less but
I think i see the blocks in the dark pic the style is just not highlighting them!
other than that it looks right nice styleing BTW

I took another look and, unfortunately, no...the actual gradients are not showing as well as the margins being off and rows rather mushed together. I could live without the neat bars showing, etc., if I could get some space between the forms so they weren't so hard to read.

I've tried to look at the CSS and see if I could sort it, but I'm too much a novice at this... so... still in need of help if anyone has ideas.

Warmest Regards

Alisa...

PS: The style was created by BluePearl and suits our RPG to a T.

Welshy2008 05-23-2010 12:44 PM

1 Attachment(s)
I have been using this on my 3.8 board for a while, and on TWO threads, I replaced the "Post Reply" button, with one of my own.

The problem is, that is that it don't work on 4.0.3.

What I did before was to add two plugins as follows:


Code:

Product:  Easy Forms

Hook Location: showthread_complete
 
Title:  Form1

Execution Order: 1000

Plugin PHP Code: 
if ($threadinfo[threadid] == XXXX)
{
eval('$SHOWTHREAD = "' . fetch_template('SHOWTHREAD') . '";');
$SHOWTHREAD = str_replace("reply.gif","thread2.gif", $SHOWTHREAD);
print_output($SHOWTHREAD);
}
Plugin is Active:  Yes


Code:

Product:  Easy Forms

Hook Location:  newreply_form_start
 
Title:  Easy Forms Reply Button

Execution Order: 5

Plugin PHP Code: 
if (in_array($threadinfo[threadid], array(ThreadID1)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ; 
}
if (in_array($threadinfo[threadid], array(ThreadID2)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=2') ; 
}

Plugin is Active:  Yes

I also had to add the following to the SHOWTHREAD Template (I would also like the ""Border box around it all too) - which worked well in 3.8.X-Please see attachment:

Code:

<tr>
<if condition="$threadinfo['threadid'] == 'XXXX'">
<td align="$stylevar[left]" valign="top" width="50%">
<fieldset class="fieldset" style="margin:0px">
<legend><b><font size="3">Title Here</font> <font size="2"></b></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td colspan="2">
<tr>
<form action="search.php?do=process&searchthreadid=XXXX" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class=""><font size="2">Description Here<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td align="left">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="$threadinfo[threadid] == 'XXXX'" />
<font size="3"><font color="green"><b>Search For:</b></font></font> <input type="text" class="bginput" name="query" size="25" /> <input type="image" src="http://www.Mywebaddress.com/images/search.png" alt="Click to search."><br/>
</td>
</tr>
</table>
</form>
</select></label>
</tr>
</fieldset></if>
<br />

Where "XXXX" is the ThreadID.


Naturally these no longer work and it also returns a securitytoken error too.


Any Ideas of what to replace this code with please? I have tried various ones, but no luck as yet.

Also, With the 4.0.X versions, we have to double click on the Post Reply button to get the full and proper text box, whereas a single click will show the Quick Reply Box. This naturally affects this. How would I overcome this, Please?


Many Thanks, Welshy.

thetgc 05-23-2010 11:48 PM

Doesnt matter :P Found what i was looking for ;)

sean-zigster 05-24-2010 06:55 PM

Hi

This is a cracking mod and i have installed it , but we are using it more like a database. Is there anyway i change change forms to database ie instead of a tab saying forms its says database

bananalive 05-24-2010 08:24 PM

Quote:

Originally Posted by sean-zigster (Post 2042797)
Hi

This is a cracking mod and i have installed it , but we are using it more like a database. Is there anyway i change change forms to database ie instead of a tab saying forms its says database

In AdminCP, Edit phrase entitled 'forms'

bananalive 05-24-2010 08:42 PM

Quote:

Originally Posted by Welshy2008 (Post 2042199)
I have been using this on my 3.8 board for a while, and on TWO threads, I replaced the "Post Reply" button, with one of my own.

The problem is, that is that it don't work on 4.0.3.

What I did before was to add two plugins as follows:


Code:

Product:  Easy Forms

Hook Location: showthread_complete
 
Title:  Form1

Execution Order: 1000

Plugin PHP Code: 
if ($threadinfo[threadid] == XXXX)
{
eval('$SHOWTHREAD = "' . fetch_template('SHOWTHREAD') . '";');
$SHOWTHREAD = str_replace("reply.gif","thread2.gif", $SHOWTHREAD);
print_output($SHOWTHREAD);
}
Plugin is Active:  Yes


Code:

Product:  Easy Forms

Hook Location:  newreply_form_start
 
Title:  Easy Forms Reply Button

Execution Order: 5

Plugin PHP Code: 
if (in_array($threadinfo[threadid], array(ThreadID1)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ; 
}
if (in_array($threadinfo[threadid], array(ThreadID2)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=2') ; 
}

Plugin is Active:  Yes

I also had to add the following to the SHOWTHREAD Template (I would also like the ""Border box around it all too) - which worked well in 3.8.X-Please see attachment:

Code:

<tr>
<if condition="$threadinfo['threadid'] == 'XXXX'">
<td align="$stylevar[left]" valign="top" width="50%">
<fieldset class="fieldset" style="margin:0px">
<legend><b><font size="3">Title Here</font> <font size="2"></b></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td colspan="2">
<tr>
<form action="search.php?do=process&searchthreadid=XXXX" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class=""><font size="2">Description Here<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td align="left">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="$threadinfo[threadid] == 'XXXX'" />
<font size="3"><font color="green"><b>Search For:</b></font></font> <input type="text" class="bginput" name="query" size="25" /> <input type="image" src="http://www.Mywebaddress.com/images/search.png" alt="Click to search."><br/>
</td>
</tr>
</table>
</form>
</select></label>
</tr>
</fieldset></if>
<br />

Where "XXXX" is the ThreadID.


Naturally these no longer work and it also returns a securitytoken error too.


Any Ideas of what to replace this code with please? I have tried various ones, but no luck as yet.

Also, With the 4.0.X versions, we have to double click on the Post Reply button to get the full and proper text box, whereas a single click will show the Quick Reply Box. This naturally affects this. How would I overcome this, Please?


Many Thanks, Welshy.

vB 4 no longer uses images for post reply button, if your board is still using images then you could use

PHP Code:

if ($threadinfo[threadid] == 31

$vbulletin->templatecache['SHOWTHREAD'] = str_replace("reply.gif","thread2.gif"$vbulletin->templatecache['SHOWTHREAD']); 
$show['quickreply'] = false;


(It also disables quick reply for that thread.)

If you use the vB 4 default buttons use this:

PHP Code:

if ($threadinfo[threadid] == 31

$show['quickreply'] = false;
$vbphrase['reply_to_thread'] = "Your Text";


You are getting the no securitytoken error because vBulletin now has different template syntax

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="searchthreadid" value="{vb:raw threadinfo.threadid]}'" />


Also use <vb:if> instead of <if>

bananalive 05-24-2010 08:50 PM

Quote:

Originally Posted by Alisa Lindsay (Post 2041647)
I took another look and, unfortunately, no...the actual gradients are not showing as well as the margins being off and rows rather mushed together. I could live without the neat bars showing, etc., if I could get some space between the forms so they weren't so hard to read.

I've tried to look at the CSS and see if I could sort it, but I'm too much a novice at this... so... still in need of help if anyone has ideas.

Warmest Regards

Alisa...

PS: The style was created by BluePearl and suits our RPG to a T.

Fixed? I went on your site just now and it looks as it should?


All times are GMT. The time now is 07:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02525 seconds
  • Memory Usage 1,801KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete